hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1654) Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled
Date Sat, 30 May 2015 20:26:17 GMT

     [ 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


Mime
View raw message