class ResponseDefaultHeadersTest::TestController
Public Instance Methods
leave_alone()
click to toggle source
Render
a head response, but don't touch default headers
# File actionpack/test/controller/test_case_test.rb, line 927 def leave_alone head :ok end
remove_header()
click to toggle source
# File actionpack/test/controller/test_case_test.rb, line 921 def remove_header headers.delete params[:header] head :ok, "C" => "3" end