[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



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.


Comment by Pierre LEGER [ 01/Nov/15 ]

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

Have a nice day!

Generated at Sat Oct 20 17:42:06 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.