[ https://issues.apache.org/jira/browse/HTTPCLIENT-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883458#comment-17883458 ]
Michael Lee commented on HTTPCLIENT-1843: ----------------------------------------- Hi [~abernal] and other developers, One concern from me (a user) is that Commons Compress and its dependencies will add an additional 2.48 MB to projects using HttpClient: * commons-compress-1.27.1.jar: 1.0 MB * commons-codec-1.17.1.jar: 363 KB * commons-io-2.16.1.jar: 496 KB * commons-lang3-3.16.0.jar: 658 KB I have a few projects using only httpclient5, httpcore5-h2 and httpcore5 (and none of the above Commons libraries) which are only about 1.96 MB in size: * httpclient5-5.4.jar: 886 KB * httpcore5-h2-5.3.jar: 232 KB * httpcore5-5.3.jar: 885 KB The size increase is quite dramatic if the use of Commons Compress is mandatory. Can you re-consider the original approach of creating a separate httpclient5-compress module? Thanks. > 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: 3.5h > 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-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org