Request compression support in async-http-client
chandrav723 opened this issue ยท 4 comments
chandrav723 commented
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 commented
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 commented
@hyperxpro FYI, netty's HttpContentCompressor only supports server side response compression. The request compression handler is missing.
hyperxpro commented
I'll think about this and do a PR in Netty for client request compression.
chandrav723 commented
I would like to work on it if have a ticket.