instance method
head
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
head(action, parameters = nil, session = nil, flash = nil)
Executes a request simulating HEAD HTTP method and set/volley the response
Parameters
-
actionreq -
parametersopt = nil -
sessionopt = nil -
flashopt = nil
Source
# File actionpack/lib/action_controller/test_process.rb, line 417
def head(action, parameters = nil, session = nil, flash = nil)
process(action, parameters, session, flash, "HEAD")
end
Defined in actionpack/lib/action_controller/test_process.rb line 417
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestProcess