Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-924

Mime header : Multiple keys with same value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.2.1, 2.3.0, 2.2.2
    • Fix Version/s: 2.2.3
    • Component/s: Core
    • Labels:
      None

      Description

      Hi,

      I have an HTTP Response with in the header multiple values for the same key:

      • cookie : value1
      • cookie : value2

      When I called the function to have the MimeHeaders, I have this:

      • cookie : value2
      • cookie : value2

      About the code:

      SaajSoapMessageFactory use parseMimeHeaders to get header from HTTP Response. Behind this you called http://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html#getHeaderField(java.lang.String) , this function returned only the last value.

      Thanks,

        Activity

          People

          • Assignee:
            gregturn Greg Turnquist
            Reporter:
            pierre-leger Pierre LEGER
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: