class Rack::Headers

def invert

def invert
  hash = self.class.new
  each{|key, value| hash[value] = key}
  hash
end