Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request compression support in async-http-client #1838

Open
chandrav723 opened this issue Nov 30, 2022 · 4 comments
Open

Request compression support in async-http-client #1838

chandrav723 opened this issue Nov 30, 2022 · 4 comments

Comments

@chandrav723
Copy link

Hi,

Does async-http-client supports sending compressed(compression does by algo mentioned in header 'content-encoding') request to server ?
Can you share the code snippet how to add the support of request compression?

@hyperxpro
Copy link
Member

You can manually compress the content. Because as of now, automatic compression is not possible. But I'll add this into backlog features which will be implemented in future.

@slandelle
Copy link
Contributor

@hyperxpro FYI, netty's HttpContentCompressor only supports server side response compression. The request compression handler is missing.

@hyperxpro
Copy link
Member

I'll think about this and do a PR in Netty for client request compression.

@chandrav723
Copy link
Author

chandrav723 commented Dec 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants