Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.5, 5.0
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
HTTPCLIENT-1651 Add ability to disable content compression on a request basis
- Closed
- supercedes
-
HTTPCLIENT-1464 Add ability to override HttpClientBuilder.disableContentCompression() setting at request execution level
- Closed