File: //usr/local/rvm/gems/default/doc/actionpack-6.1.4.1/ri/ActionController/Head/head-i.ri
U:RDoc::AnyMethod[iI" head:ETI" ActionController::Head#head;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JReturns a response that has no content (merely headers). The options ;TI"Fargument is interpreted to be a hash of header names and values. ;TI"GThis allows you to easily return a response that consists only of ;TI"significant headers:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"3head :created, location: person_path(@person)
;TI"
;TI"&head :created, location: @person
;T:@format0o;
; [I":It can also be used to return exceptional conditions:;T@o;; [I";return head(:method_not_allowed) unless request.post?
;TI"5return head(:bad_request) unless valid_request?
;TI"render
;T;
0o;
; [I"VSee Rack::Utils::SYMBOL_TO_STATUS_CODE for a full list of valid +status+ symbols.;T:
@fileI"(lib/action_controller/metal/head.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(status, options = {});T@"FI" Head;TcRDoc::NormalModule00