hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Krecan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPASYNC-73) Request headers are not copied upon redirect
Date Thu, 03 Apr 2014 17:01:18 GMT
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message