[
https://issues.apache.org/jira/browse/CXF-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453702#comment-16453702
]
Colm O hEigeartaigh commented on CXF-7720:
------------------------------------------
I was also looking at that test....the server side doesn't send back the
different case headers as the Jetty HttpField class compares header names in a
case insensitive way, and just updated the value if they match instead of
adding a new header. So I don't think there is anything we can do on the CXF
side for that.
> Header values are lost
> -----------------------
>
> Key: CXF-7720
> URL: https://issues.apache.org/jira/browse/CXF-7720
> Project: CXF
> Issue Type: Bug
> Components: Transports
> Affects Versions: 3.2.4
> Environment: Windows 7
> Java 1.8.0_152
> SoapUI 5.2.1
> Reporter: Vladimir Bogatyrov
> Assignee: Colm O hEigeartaigh
> Priority: Major
> Attachments: consumer.zip, rest_mock_provider_soapui_project.xml
>
>
> When a request is made by WebClient to a service that returns several headers
> of the same name but with different cases, e.g.:
> "Set-Cookie" with value "aaa"
> "set-cookie" with value "bbb"
> "SET-COOKIE" with value "ccc"
> then the response object contains only one header value, all other values are
> lost.
> The issue is not reproducible in all cases, but only with some service
> providers and is probably caused by low-level details of provider
> implementation.
>
> In the attachment there is a SoapUI REST mock service and CXF WebClient-based
> consumer with which the issue is reproducible.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)