class ActionDispatch::Http::Headers

def [](key)

Returns the value for the given key mapped to @env.
def [](key)
  @req.get_header env_name(key)
end