method
merge_default_headers
v4.2.1 -
Show latest stable
- Class:
ActionDispatch::TestResponse
merge_default_headers(original, *args)public
No documentation available.
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 29
def merge_default_headers(original, *args)
# Default headers are already applied, no need to merge them a second time.
# This makes sure that default headers, removed in controller actions, will
# not be reapplied to the test response.
original
end