Flowdock
method

head?

Importance_1
v1.2.0 - Show latest stable - 0 notes - Class: ActionController::AbstractRequest
head?() public

Is this a HEAD request? HEAD is mapped as :get for request.method, so here we ask the REQUEST_METHOD header directly. Thus, for head, both get? and head? will return true.

Show source
Register or log in to add new notes.