[ https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012060#comment-18012060 ]
ASF subversion and git services commented on HTTPCLIENT-1822: ------------------------------------------------------------- Commit 3fbbd2237216a74cceacf8458655ff19d0120bb4 in httpcomponents-client's branch refs/heads/master from Arturo Bernal [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=3fbbd2237 ] HTTPCLIENT-1822: async transparent content decompression. Add DeflatingAsyncEntityProducer and InflatingAsyncEntityCunsumer using Deflater / Inflater API directly > Support for transparent content decompression > --------------------------------------------- > > Key: HTTPCLIENT-1822 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1822 > Project: HttpComponents HttpClient > Issue Type: Improvement > Reporter: clajder > Priority: Major > Labels: decopression, httpprocessor, stuck, volunteers-wanted > Fix For: Future, Stuck > > Time Spent: 4h > Remaining Estimate: 0h > > Created http processor array like this > HttpProcessor httpproc = HttpProcessorBuilder.create() > .add(new RequestDefaultHeaders()) > .add(new RequestAcceptEncoding()) > .add(new RequestClientConnControl()) > .add(new RequestContent()) > .add(new ResponseContentEncoding()) > .add(new RequestTargetHost()).build(); > > later http async client constructed as follows > CloseableHttpAsyncClient httpclient = HttpAsyncClients.custom() > .setConnectionManager(connManager) > .setHttpProcessor(httpproc) > .setUserAgent(hc.getUserAgent()) > .setDefaultRequestConfig(defaultRequestConfig) > .build(); > during invocation > Future<HttpResponse> future = httpclient .execute(httpget, null); > HttpResponse response = future.get(); > entity.getContent() is not decompressed (gzip), however > ResponseContentEncoding http processor was executed -- 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