Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7720

Header values are lost

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.4
    • Fix Version/s: 3.2.5
    • Component/s: Transports
    • Labels:
      None
    • Environment:

      Windows 7

      Java 1.8.0_152

      SoapUI 5.2.1

    • Estimated Complexity:
      Unknown

      Description

      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.

       

        Attachments

        1. consumer.zip
          5 kB
          Vladimir Bogatyrov
        2. rest_mock_provider_soapui_project.xml
          3 kB
          Vladimir Bogatyrov

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              Bogatyrov Vladimir Bogatyrov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: