class HTTP::Features::AutoInflate
def wrap_response(response)
def wrap_response(response) return response unless %w[deflate gzip x-gzip].include?(response.headers[:content_encoding]) Response.new( :status => response.status, :version => response.version, :headers => response.headers, :proxy_headers => response.proxy_headers, :connection => response.connection, :body => stream_for(response.connection) ) end