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

        pierre-leger Pierre LEGER created issue -
        gregturn Greg Turnquist made changes -
        Field Original Value New Value
        Assignee Greg Turnquist [ gregturn ]
        gregturn Greg Turnquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.2 [ 15248 ]
        Resolution Complete [ 8 ]
        gregturn Greg Turnquist made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        gregturn Greg Turnquist made changes -
        Resolution Complete [ 8 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        gregturn Greg Turnquist made changes -
        Fix Version/s 2.2.3 [ 15405 ]
        Fix Version/s 2.2.2 [ 15248 ]
        gregturn Greg Turnquist made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Complete [ 8 ]

          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: