instance method
head
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
head(path, *args)
Performs a HEAD request with the given parameters. See ActionDispatch::Integration::Session#process for more details.
Parameters
-
pathreq -
argsrest
Source
# File actionpack/lib/action_dispatch/testing/integration.rb, line 47
def head(path, *args)
process(:head, path, *args)
end
Defined in actionpack/lib/action_dispatch/testing/integration.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Integration::RequestHelpers