jira-importer opened a new issue, #1345:
URL: https://github.com/apache/httpcomponents-core/issues/1345

   **[Konrad 
Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** 
opened 
**[HTTPCORE-792](https://issues.apache.org/jira/browse/HTTPCORE-792?redirect=false)**
 and commented
   
   HttpClient transparently decompressed certain compressed responses. However 
there is no API to retrieve information about:
   
   - the compression algorithm used for the response
   - how many bytes were transferred
   
   Would be nice to make this information accessible via 
`org.apache.hc.core5.http.HttpEntity` or from 
https://github.com/apache/httpcomponents-client/blob/b78c2ad55dcff4228911cef3184cca8a76ef5d4b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/compress/DecompressingEntity.java#L38.
   
   
   ---
   
   **Affects:** 5.4
   
   **Issue Links:**
   - [HTTPCLIENT-2375](https://issues.apache.org/jira/browse/HTTPCLIENT-2375) 
Add optional Commons-Compress encoders (br, zstd, xz, ...)
    (_**"duplicates"**_)
   - [HTTPCLIENT-2409](https://issues.apache.org/jira/browse/HTTPCLIENT-2409) 
Content-Length header not removed/modified when decompressing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to