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] [Created] (HTTPCLIENT-1654) Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled
Date Sat, 30 May 2015 19:51:17 GMT
Michael Osipov created HTTPCLIENT-1654:
------------------------------------------

             Summary: 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