You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/05/30 22:26:17 UTC

[jira] [Resolved] (HTTPCLIENT-1654) Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org