instance method
query?
Ruby on Rails edge
Since edgeSignature
query?()
Checks the HTTP request method (or verb) to see if it was of type QUERY. QUERY is a safe and idempotent HTTP method for queries with a request body, defined in RFC 10008: The HTTP QUERY Method.
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 213
def query?
request_method == "QUERY"
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 213
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request