You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/06/19 16:37:00 UTC
[jira] [Commented] (HTTPCLIENT-1843) Create module httpclient5-compress to use Apache Commons Compress
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17983726#comment-17983726 ]
ASF subversion and git services commented on HTTPCLIENT-1843:
-------------------------------------------------------------
Commit d1eb5b8b09b32bfe72b364edce378eb21a416167 in httpcomponents-client's branch refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=d1eb5b8b0 ]
HTTPCLIENT-1843 Plug Commons-Compress into HttpClient’s automatic (#651)
content-decoding (optional)
* New ContentDecoderRegistry discovers extra codecs (br, zstd, xz, lz4, …)
via Commons-Compress when that jar is on the class-path; otherwise falls
back to the built-ins (gzip, deflate) only.
* No hard dependency added—projects that need the extra algorithms just add
`commons-compress` (and helper jars like google-brotli, zstd-jni, xz-java)
to their pom and HttpClient uses them automatically.
> Create module httpclient5-compress to use Apache Commons Compress
> -----------------------------------------------------------------
>
> Key: HTTPCLIENT-1843
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1843
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Reporter: Gary D. Gregory
> Assignee: Gary D. Gregory
> Priority: Major
> Fix For: Future
>
> Time Spent: 6h
> Remaining Estimate: 0h
>
> Create module httpclient5-compress to use Apache Commons Compress.
> Allow users to benefit from the support of various algorithms supported through the API of Apache Commons Compress.
> [Apache Commons Compress|https://commons.apache.org/proper/commons-compress/] 1.14 will support Brotli when released.
> HttpClient should be recoded to find codec implementaions based on a Java {{ServiceLoader}}. Then, {{httpclient5-compress}} can add to that registry if it is on the classpath, the user will not have to do anything extra.
--
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