AlkantarClanX12

Your IP : 3.137.175.80


Current Path : /opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Response/
Upload File :
Current File : //opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Response/new-c.ri

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