You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2026/01/23 18:42:00 UTC

[jira] [Closed] (HTTPCORE-792) Expose compression algorithm (and transfer size) from HttpEntity

     [ https://issues.apache.org/jira/browse/HTTPCORE-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus closed HTTPCORE-792.
------------------------------------
    Resolution: Duplicate

I see now that this was fixed already in the context of HTTPCLIENT-2375.

> 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
>            Priority: Major
>
> 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.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org