Lukas Krecan created HTTPASYNC-73:
-------------------------------------
Summary: Request headers are not copied upon redirect
Key: HTTPASYNC-73
URL: https://issues.apache.org/jira/browse/HTTPASYNC-73
Project: HttpComponents HttpAsyncClient
Issue Type: Bug
Affects Versions: 4.0.1
Reporter: Lukas Krecan
When a request is automatically redirected to a new address, request headers
from the original request are not copied.
For example, if I set Accept: application/json and the server returns 302, a
new request is sent to the new location without any Accept header. It results
in an unexpected content-type in the response. I think it's not correct.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]