U:RDoc::AnyMethod[iI"new:ETI"Rack::Response::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HInitialize the response object with the specified +body+, +status+ ;TI"and +headers+.;To:RDoc::Markup::BlankLineo; ; [I"NIf the +body+ is +nil+, construct an empty response object with internal ;TI"buffering.;T@o; ; [I"NIf the +body+ responds to +to_str+, assume it's a string-like object and ;TI"Nconstruct a buffered response object containing using that string as the ;TI"$initial contents of the buffer.;T@o; ; [I"NOtherwise it is expected +body+ conforms to the normal requirements of a ;TI"JRack response body, typically implementing one of +each+ (enumerable ;TI"&body) or +call+ (streaming body).;T@o; ; [I"LThe +status+ defaults to +200+ which is the "OK" HTTP status code. You ;TI"-can provide any other valid status code.;T@o; ; [I"OThe +headers+ must be a +Hash+ of key-value header pairs which conform to ;TI"Mthe Rack specification for response headers. The key must be a +String+ ;TI"Iinstance and the value can be either a +String+ or +Array+ instance.;T: @fileI"lib/rack/response.rb;T:0@omit_headings_from_table_of_contents_below00I" self;T[I"-(body = nil, status = 200, headers = {});T@'FI" Response;TcRDoc::NormalClass00