radman38654 / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

No support for duplicate headers #99

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Send a GET request to a server that responds with multiple WWW-
Authenticate Headers (used RestClient UI)

What is the expected output? What do you see instead?
Showing all the WWW-Authenticate headers present is expected, but only 1 
will show.

What version of the product are you using? On what operating system?
2.3 on Windows Vista

Please provide any additional information below.
It looks like the code may use a Map to store the headers value, which 
would prevent multiple values for the HTTP headers that allow this:
http://www.google.com/codesearch?q=getHeaders+package:http://rest-
client\.googlecode\.com&origq=getHeaders&btnG=Search+Trunk

Original issue reported on code.google.com by jenni.wi...@gmail.com on 10 Dec 2009 at 10:28

GoogleCodeExporter commented 8 years ago
This is a known bug. I am working on it.

Original comment by subwiz on 11 Dec 2009 at 1:30

GoogleCodeExporter commented 8 years ago
r449 has introduced architectural changes needed for supporting duplicate 
headers.

Original comment by subwiz on 18 Jan 2010 at 6:07

GoogleCodeExporter commented 8 years ago
r450 has the fix.

Original comment by subwiz on 18 Jan 2010 at 8:08