diff options
Diffstat (limited to 'lib/chef/http')
-rw-r--r-- | lib/chef/http/validate_content_length.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/http/validate_content_length.rb b/lib/chef/http/validate_content_length.rb index 81d3b0fb74..c1073867d3 100644 --- a/lib/chef/http/validate_content_length.rb +++ b/lib/chef/http/validate_content_length.rb @@ -84,7 +84,6 @@ class Chef def validate(http_response, response_length) content_length = response_content_length(http_response) transfer_encoding = http_response["transfer-encoding"] - content_encoding = http_response["content-encoding"] if content_length.nil? Chef::Log.debug "HTTP server did not include a Content-Length header in response, cannot identify truncated downloads." |