CXF-2462, if a request returns a response header that looks like the following:
q: "stuff with commas, and spaces"
WebClient's response.getMetadata() returns 2 values:
- "stuff with commas
- and spaces"
while the correct response should be:
- stuff with commas, and spaces
Here's the WebClient code which reproduces the issue (as long as the server response contains a header that returns the header value above):
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Sergey Beryozkin [ sergey_beryozkin ]|
|Resolution||Fixed [ 1 ]|