[ https://issues.apache.org/jira/browse/CXF-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453218#comment-16453218 ]
Daniel Kulp edited comment on CXF-7720 at 4/25/18 11:11 PM: ------------------------------------------------------------ Actually, just changed the server side to send different case headers instead of all three being the "proper" Set-Cookie and the test does fail. I'll take a look tomorrow. It's definitely an issue on the server side as it's only sending a single Set-Cookie header back: {code:java} HTTP/1.1 200 OK Date: Wed, 25 Apr 2018 23:10:06 GMT Set-Cookie: COOKIETWO=dummy2; expires=Sat, 20-Nov-2010 19:11:32 GMT; Path=/ BookId: 123 MAP-NAME: javax.ws.rs.core.MultivaluedMap Content-Length: 0 Server: Jetty(9.4.8.v20171121) {code} was (Author: dkulp): Actually, just changed the server side to send different case headers instead of all three being the "proper" Set-Cookie and the test does fail. I'll take a look tomorrow. It's definitely an issue on the server side as it's only sending a single Set-Cookie header back: ``` HTTP/1.1 200 OK Date: Wed, 25 Apr 2018 23:10:06 GMT Set-Cookie: COOKIETWO=dummy2; expires=Sat, 20-Nov-2010 19:11:32 GMT; Path=/ BookId: 123 MAP-NAME: javax.ws.rs.core.MultivaluedMap Content-Length: 0 Server: Jetty(9.4.8.v20171121) ``` > 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)