Server IP : 66.29.132.122 / Your IP : 3.144.31.163 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Response/ |
Upload File : |
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::BlankLine o; ; [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