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