Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Net
/
HTTPResponse
/
//opt/alt/ruby27/share/ri/system/Net/HTTPResponse/cdesc-HTTPResponse.ri
U:RDoc::NormalClass[iI"HTTPResponse:ETI"Net::HTTPResponse;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"HTTP response class.;To:RDoc::Markup::BlankLine o; ;[I"NThis class wraps together the response header and the response body (the ;TI"entity requested).;T@o; ;[I"JIt mixes in the HTTPHeader module, which provides access to response ;TI"Iheader values both via hash-like methods and via individual readers.;T@o; ;[I"@Note that each possible HTTP response code defines its own ;TI"JHTTPResponse subclass. All classes are defined under the Net module. ;TI"QIndentation indicates inheritance. For a list of the classes see Net::HTTP.;T@o; ;[I"MCorrespondence <code>HTTP code => class</code> is stored in CODE_TO_OBJ ;TI"constant:;T@o:RDoc::Markup::Verbatim;[I"@Net::HTTPResponse::CODE_TO_OBJ['404'] #=> Net::HTTPNotFound;T:@format0: @fileI"lib/net/http/response.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ; I"lib/net/http/responses.rb;T;0; 0;0[[ I" code;TI"R;T:privateFI"lib/net/http/response.rb;T[ I"decode_content;TI"RW;T;F@.[ I"http_version;T@-;F@.[ I"message;T@-;F@.[ I"msg;T@-;F@.[ I"uri;T@-;F@.[U:RDoc::Constant[i I"CODE_CLASS_TO_OBJ;TI")Net::HTTPResponse::CODE_CLASS_TO_OBJ;T:public0o;;[ ; @);0@)@cRDoc::NormalClass0U;[i I"CODE_TO_OBJ;TI"#Net::HTTPResponse::CODE_TO_OBJ;T;0o;;[ ; @);0@)@@A0[[I"Net::HTTPHeader;To;;[o; ;[I"Hnext is to fix bug in RDoc, where the private inside class << self ;TI"spills out.;T; @&;0@.[[I" class;T[[;[ [:protected[ [;[ [I"body_permitted?;T@.[I"each_response_header;T@.[I"read_status_line;T@.[I"response_class;T@.[I" instance;T[[;[ [;[ [;[[I" body;T@.[I" body=;T@.[I"entity;T@.[I"inspect;T@.[I" procdest;T@.[I"read_body;T@.[I"read_body_0;T@.[I"stream_check;T@.[I" value;T@.[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"lib/net/http/response.rb;TI"lib/net/http/responses.rb;T@)cRDoc::TopLevel