lib/async/http/accept_encoding.rb in async-http-0.26.0 vs lib/async/http/accept_encoding.rb in async-http-0.27.0
- old
+ new
@@ -36,10 +36,10 @@
@accept_encoding = wrappers.keys.join(', ')
@wrappers = wrappers
end
- def call(request, *)
+ def call(request)
request.headers['accept-encoding'] = @accept_encoding
response = super
if !response.body.empty? and content_encoding = response.headers['content-encoding']