관리-도구
편집 파일: cdesc-Response.ri
U:RDoc::NormalClass[iI" Response:ETI"Rack::Response;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"ERack::Response provides a convenient interface to create a Rack ;TI"response.;To:RDoc::Markup::BlankLine o; ;[I"CIt allows setting of headers and cookies, and provides useful ;TI";defaults (an OK response with empty headers and body).;T@o; ;[ I"GYou can use Response#write to iteratively generate your response, ;TI"Ebut note that this is buffered by Rack::Response until you call ;TI"H+finish+. +finish+ however can take a block inside which calls to ;TI"4+write+ are synchronous with the Rack response.;T@o; ;[I"DYour application's +call+ should end returning Response#finish.;T: @fileI"lib/rack/response.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ I" body;TI"RW;T:publicFI"lib/rack/response.rb;T[ I"headers;TI"R;T; F@%[ I"length;T@$; F@%[ I"status;T@$; F@%[U:RDoc::Constant[i I"CHUNKED;TI"Rack::Response::CHUNKED;T; 0o;;[ ;@ ;0@ @cRDoc::NormalClass0U;[i I"STATUS_WITH_NO_ENTITY_BODY;TI"/Rack::Response::STATUS_WITH_NO_ENTITY_BODY;T; 0o;;[ ;@ ;0@ @@40[[I"Helpers;To;;[ ;@ ;0@%[[I" class;T[[; [[I"[];T@%[I"new;T@%[:protected[ [:private[ [I" instance;T[[; [[I"[];T@%[I"[]=;T@%[I" chunked?;T@%[I" close;T@%[I"delete_header;T@%[I" each;T@%[I"empty?;T@%[I"finish;T@%[I"get_header;T@%[I"has_header?;T@%[I"header;T@%[I"no_entity_body?;T@%[I" redirect;T@%[I"set_header;T@%[I" to_a;T@%[I" write;T@%[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@ I" Rack;TcRDoc::NormalModule