Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1654

Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.5, 5.0
    • 5.0 Alpha1
    • 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

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: