[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2025-08-07 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012607#comment-18012607
 ] 

ASF subversion and git services commented on HTTPCLIENT-1822:
-

Commit dc9d9685b383f80a5dbda27dfb613f9ac9cff7d0 in httpcomponents-client's 
branch refs/heads/dependabot/maven/org.apache.commons-commons-compress-1.28.0 
from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=dc9d9685b ]

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: 5.6-alpha1
>
>  Time Spent: 4h 20m
>  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 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: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2025-08-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012068#comment-18012068
 ] 

ASF subversion and git services commented on HTTPCLIENT-1822:
-

Commit dc9d9685b383f80a5dbda27dfb613f9ac9cff7d0 in httpcomponents-client's 
branch refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=dc9d9685b ]

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 20m
>  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 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: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2025-08-05 Thread ASF subversion and git services (Jira)


[ 
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 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: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2020-02-11 Thread Oleg Kalnichevski (Jira)


[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034441#comment-17034441
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1822:
---

[~Retardust] What you likely need to do is as follows:
 # Build a custom {{AsyncDataConsumer}} that can transparently decompress data 
and pass it for further processing to another {{AsyncDataConsumer}}
 # Build a custom {{AsyncDataProducer}} that can transparently compress data 
produced by another {{AsyncDataProducer}} and commit in to the underlying 
{{DataStreamChannel}}.
 # Build a custom {{ExecResponseInterceptor}} that automatically injects 
compressing / decompressing data producer / consumer into the request execution 
pipeline depending on request / response message composition or {{HttpContext}} 
state.

Hope this helps

Oleg

> 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, volunteers-wanted
> Fix For: 5.0
>
>
> 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 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.3.4#803005)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2020-02-11 Thread Guchakov Nikita (Jira)


[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034424#comment-17034424
 ] 

Guchakov Nikita commented on HTTPCLIENT-1822:
-

[~olegk] The response decompression should be implemented as HttpProcessor as I 
could see? ExecInterceptor would be able to compress requests only, am I right?

> 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, volunteers-wanted
> Fix For: 5.0
>
>
> 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 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.3.4#803005)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2020-02-11 Thread Oleg Kalnichevski (Jira)


[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034254#comment-17034254
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1822:
---

[~Retardust] None of the current project committers is likely to do any work on 
this feature in the foreseeable future. This feature has to come as an external 
contribution.

I corrected the link to 
`[AsyncClientMessageTrailers|https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientMessageTrailers.java]`
 example.

Oleg

> 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, volunteers-wanted
> Fix For: 5.0
>
>
> 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 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.3.4#803005)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Commented] (HTTPCLIENT-1822) Support for transparent content decompression

2020-02-11 Thread Guchakov Nikita (Jira)


[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034245#comment-17034245
 ] 

Guchakov Nikita commented on HTTPCLIENT-1822:
-

[~olegk] Hi, is there any updates on the topic? The link is pass to 404. 

I need this feature and thinking to try contribute that but I don't get where 
to start

> 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, volunteers-wanted
> Fix For: 5.0
>
>
> 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 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.3.4#803005)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]