Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Net
/
HTTP
/
//proc/self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Net/HTTP/get_response-c.ri
U:RDoc::AnyMethod[iI"get_response:ETI"Net::HTTP::get_response;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ESends a GET request to the target and returns the HTTP response ;TI"Kas a Net::HTTPResponse object. The target can either be specified as ;TI"6(+uri+), or as (+host+, +path+, +port+ = 80); so:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Lres = Net::HTTP.get_response(URI('http://www.example.com/index.html')) ;TI"print res.body ;T:@format0o; ; [I"or:;T@o;; [I"Dres = Net::HTTP.get_response('www.example.com', '/index.html') ;TI"print res.body;T; 0: @fileI"lib/net/http.rb;T:0@omit_headings_from_table_of_contents_below000[ I"2(uri_or_host, path = nil, port = nil, &block);T@FI" HTTP;TcRDoc::NormalClass00