[SWS-924] Mime header : Multiple keys with same value Created: 01/Nov/15  Updated: 02/Nov/15  Resolved: 02/Nov/15

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.2.1, 2.3.0, 2.2.2
Fix Version/s: 2.2.3

Type: Bug Priority: Major
Reporter: Pierre LEGER Assignee: Greg Turnquist
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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,



 Comments   
Comment by Pierre LEGER [ 01/Nov/15 ]

Pull Request : https://github.com/spring-projects/spring-ws/pull/42

Have a nice day!

Generated at Sun Dec 17 21:33:07 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.