Vladimir Bogatyrov created CXF-7720:
---------------------------------------

             Summary: 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
         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)

Reply via email to