Konrad Windszus created HTTPCORE-792:
----------------------------------------

             Summary: Expose compression algorithm (and transfer size) from 
HttpEntity
                 Key: HTTPCORE-792
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-792
             Project: HttpComponents HttpCore
          Issue Type: Improvement
          Components: HttpCore
    Affects Versions: 5.4
            Reporter: Konrad Windszus


HttpClient transparently decompressed certain compressed responses. However 
there is no API to retrieve information about:

- the compression mechanism 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to