instance method
head
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
head(path, parameters = nil, headers = nil)
Performs a HEAD request with the given parameters. See get() for more details.
Parameters
-
pathreq -
parametersopt = nil -
headersopt = nil
Source
# File actionpack/lib/action_controller/integration.rb, line 220
def head(path, parameters = nil, headers = nil)
process :head, path, parameters, headers
end
Defined in actionpack/lib/action_controller/integration.rb line 220
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Integration::Session