You are looking at documentation for an older release. Not what you want? See the current release documentation.
Before 5.0, Elasticsearch accepted compressed HTTP requests only if the setting
http.compressed was set to
true. Elasticsearch accepts compressed requests
now but will continue to send compressed responses only if
is set to