method

merge

rails latest stable - Class: ActionDispatch::Http::Headers
merge(headers_or_env)
public

Returns a new Http::Headers instance containing the contents of headers_or_env and the original instance.