D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-ruby27
/
root
/
usr
/
share
/
gems
/
doc
/
rack-2.2.10
/
ri
/
Rack
/
Response
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"Rack::Response::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"DInitialize the response object with the specified body, status ;TI"and headers.;To:RDoc::Markup::BlankLine o; ; [ I":@param body [nil, #each, #to_str] the response body. ;TI"B@param status [Integer] the integer status as defined by the ;TI"HTTP protocol RFCs. ;TI"C@param headers [#each] a list of key-value header pairs which ;TI"'conform to the HTTP protocol RFCs.;T@o; ; [I"DProviding a body which responds to #to_str is legacy behaviour.;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