You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Denis Carniel (JIRA)" <ji...@apache.org> on 2013/01/24 15:01:13 UTC
[jira] [Created] (HTTPCLIENT-1304) SystemDefaultHttpClient discards
Headers set on the request
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org