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::BlankLineo; ;[I"CIt allows setting of headers and cookies, and provides useful ;TI".defaults (a OK response containing HTML).;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" header;TI"R;T; F@%[ I" headers;F@(; F@%[ I" length;TI"RW;T; F@%[ I" status;TI"RW;T; F@%[U:RDoc::Constant[iI" CHUNKED;FI"Rack::Response::CHUNKED;T00o;;[; @ ; 0@ @cRDoc::NormalClass0U;[iI"TRANSFER_ENCODING;FI"&Rack::Response::TRANSFER_ENCODING;T00o;;[; @ ; 0@ @@80[[I" Helpers;To;;[; @ ; 0@%[[I" class;T[[; [[I"new;T@%[:protected[[: private[[I" instance;T[[; [[I"[];F@%[I"[]=;F@%[I" close;F@%[I"delete_cookie;F@%[I" each;F@%[I" empty?;F@%[I" finish;F@%[I" redirect;F@%[I"set_cookie;F@%[I" to_a;F@%[I" to_ary;F@%[I" write;F@%[;[[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@ I" Rack;FcRDoc::NormalModule