hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1162) Header adding in org.apache.http.client.protocol.RequestAcceptEncoding should be conditional
Date Fri, 10 Feb 2012 14:16:59 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1162.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2 Beta2

Fixed in SVN trunk.

Oleg
                
> Header adding in org.apache.http.client.protocol.RequestAcceptEncoding should be conditional
> --------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1162
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1162
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Ivan Bondarenko
>              Labels: request
>             Fix For: 4.2 Beta2
>
>
> org.apache.http.client.protocol.RequestAcceptEncoding adds a header in any case. Any
chance to do it conditional (like in RequestClientConnControl)? The code would be something
like
> if (!request.containsHeader("Accept-Encoding")) {
>     request.addHeader("Accept-Encoding", "gzip,deflate");
> }
> In our app this header may be added before request intercepting, so would be great if
this fact is checked.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message