class ActionDispatch::Http::Headers

def merge!(headers_or_env)

headers_or_env.
entries; duplicate keys are overwritten with the values from
Adds the contents of headers_or_env to original instance
def merge!(headers_or_env)
  headers_or_env.each do |key, value|
    @req.set_header env_name(key), value
  end
end