class HTTP::Features::AutoInflate

def wrap_response(response)

def wrap_response(response)
  return response unless supported_encoding?(response)
  options = {
    :status => response.status,
    :version => response.version,
    :headers => response.headers,
    :proxy_headers => response.proxy_headers,
    :connection => response.connection,
    :body => stream_for(response.connection)
  }
  options[:uri] = response.uri if response.uri
  Response.new(options)
end