class HTTP::Features::AutoInflate

def stream_for(connection, response)

def stream_for(connection, response)
  if %w(deflate gzip x-gzip).include?(response.headers[:content_encoding])
    Response::Inflater.new(connection)
  else
    connection
  end
end