Skip to content

Mime header : Multiple keys with same value [SWS-924] #997

@gregturn

Description

@gregturn

Pierre LEGER opened SWS-924 and commented

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,


Affects: 2.2.1, 2.3.0, 2.2.2

Referenced from: commits 842bace

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions