[
https://issues.apache.org/jira/browse/HTTPCLIENT-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov resolved HTTPCLIENT-1654.
----------------------------------------
Resolution: Fixed
Fixed with [r1682651|http://svn.apache.org/r1682651] for trunk and with
[r1682650|http://svn.apache.org/r1682650] for 4.5.x. Please review.
> Deprecate/remove RequestConfig#decompressionEnabled in favor of
> #contentCompressionEnabled
> ------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1654
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1654
> Project: HttpComponents HttpClient
> Issue Type: Task
> Affects Versions: 4.5, 5.0
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Fix For: 4.5, 5.0
>
>
> After some discussions in HTTPCLIENT-1651 we have agreed that two options for
> compression is too confusing. HttpClient shall request compression and
> decompress automatically or leave it off completely to the client code.
> Hence, deprecate (4.5)/remove (5.0) {{RequestConfig#decompressionEnabled}} in
> favor of {{#contentCompressionEnabled}}. For those who still require a
> compressed stream, simply add a {{Accept-Encoding}} request header.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]