diff options
Diffstat (limited to 'lib/net/http/response.rb')
-rw-r--r-- | lib/net/http/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http/response.rb b/lib/net/http/response.rb index 126c22160d..f51d6b1373 100644 --- a/lib/net/http/response.rb +++ b/lib/net/http/response.rb @@ -251,7 +251,7 @@ class Net::HTTPResponse return yield @socket if self['content-range'] v = self['content-encoding'] - case v && v.downcase + case v&.downcase when 'deflate', 'gzip', 'x-gzip' then self.delete 'content-encoding' |