diff options
-rw-r--r-- | lib/chef/http/http_request.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/http/http_request.rb b/lib/chef/http/http_request.rb index e0edbf7217..f67d966e5e 100644 --- a/lib/chef/http/http_request.rb +++ b/lib/chef/http/http_request.rb @@ -125,6 +125,8 @@ class Chef def build_headers(headers) @headers = headers.dup + # No response compression unless we asked for it explicitly: + @headers[HTTPRequest::ACCEPT_ENCODING] ||= "identity" @headers['X-Chef-Version'] = ::Chef::VERSION @headers end |