Denis Carniel created HTTPCLIENT-1304:
-----------------------------------------
Summary: SystemDefaultHttpClient discards Headers set on the
request
Key: HTTPCLIENT-1304
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1304
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 4.2.3
Reporter: Denis Carniel
If a HttpUriRequest has headers defined using the "setHeader" / "addHeader"
methods, those headers are properly sent when the request is executed through a
DefaultHttpClient but are discarded when using a SystemDefaultHttpClient.
As this does not seem to be an expected behaviour it is likely a bug, and a
nasty one as the link between the HttpClient implementation and headers
processing isn't obvious.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]