[
https://issues.apache.org/jira/browse/HTTPCLIENT-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17985672#comment-17985672
]
ASF subversion and git services commented on HTTPCLIENT-1843:
-------------------------------------------------------------
Commit 239948e2e2890e5f3417835da1c2cef28d9bc77c in httpcomponents-client's
branch refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=239948e2e ]
HTTPCLIENT-2375 Add first-class request-side compression support and pluggable
encoders (#657)
This change completes the work that began with the decoder registry
(HTTPCLIENT-1843) by introducing a symmetric, service-loaded
ContentEncoderRegistry and a concise, type-safe API on EntityBuilder.
HttpClient will automatically wrap the chosen entity in the appropriate
compressing wrapper, provided that the codec is available on the class-path
(via Commons Compress or the built-in GZIP/deflate support).
> 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: [email protected]
For additional commands, e-mail: [email protected]