public VertxHttpClient(Vertx vertx) {
this(vertx, new WebClientOptions().setTryUseCompression(true));
}
when I add accept-encoding header to the request.
kernelHttpRequest.setHeader("Accept-Encoding", "gzip");
The Vert.x-WebClient/3.9.5 ignores this header and The response which i receive from server does not have "content-encoding" header option.
Rather it have header as "Transfer-Encoding": "chunked".
"headers": {
"Transfer-Encoding": [
"chunked"
],
How can i pass accept-encoding = gzip and decompress the response which i am getting from server with Vert.x-WebClient/3.9.5