We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40c48b commit 2f3ad2fCopy full SHA for 2f3ad2f
elasticsearch-transport/lib/elasticsearch/transport/transport/http/manticore.rb
@@ -158,6 +158,7 @@ def apply_headers(request_options, options)
158
headers = (options && options[:headers]) || {}
159
headers[CONTENT_TYPE_STR] = find_value(headers, CONTENT_TYPE_REGEX) || DEFAULT_CONTENT_TYPE
160
headers[USER_AGENT_STR] = find_value(headers, USER_AGENT_REGEX) || user_agent_header
161
+ headers[ACCEPT_ENCODING] = GZIP
162
request_options.merge!(headers: headers)
163
end
164
0 commit comments