module Qeweney::RequestInfoMethods

def accept_encoding

into account q weights)
TODO: should return encodings in client's order of preference (and take
def accept_encoding
  encoding = @headers['accept-encoding']
  return [] unless encoding
  encoding.split(',').map { |i| i.strip }
end