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

Separate HTTP headers for multiple header values not possible - bug in CXF-3714 fix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.4
    • 3.1, 2.7.16, 3.0.5
    • Transports
    • None
    • Unknown

    Description

      In CXF-3714 a property has been introduced to allow multiple HTTP header values to be added as separate headers.

      But the corresponding fix in
      org.apache.cxf.transport.http.Headers#transferProtocolHeadersToURLConnection
      doesn't look correct. See
      https://fisheye6.atlassian.com/changelog/cxf?cs=6763178c36ae4392344f9e8e1ea3e714ba8a2520

      To me it looks like it should be

      connection.addRequestProperty(header, s)
      

      in transferProtocolHeadersToURLConnection(), instead of

      connection.addRequestProperty(HttpHeaderHelper.COOKIE, s)
      

      .

      Attachments

        Issue Links

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              calohmn Carsten Lohmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: