Added gzip decompression support to elastic4s-http#1473
Conversation
|
👍 |
|
Any documentation on how to activate this? |
|
@yanns You have to add Also gzip compression must be enabled in Elastic config: |
|
Thx a lot. |
I think we should not enable gzip by default, because this give some profit only is some cases - when Elastic's responses are huge or network perfomance isn't good, but when responses are small, compression will only waste CPU resources , as far as I know.
I think if Elastic compression will be disabled and we pass accept-encoding header, Elastic will just send plain text responses, so it will work anyway, but this is only my assumption, I'm not checked it. |
Resolves #1472