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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Net
/
HTTP
/
//opt/alt/ruby21/share/ri/2.1.0/system/Net/HTTP/head-i.ri
U:RDoc::AnyMethod[iI" head:EFI"Net::HTTP#head;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"@Gets only the header from +path+ on the connected-to host. ;TI"8+header+ is a Hash like { 'Accept' => '*/*', ... }.;To:RDoc::Markup::BlankLine o; ; [I"4This method returns a Net::HTTPResponse object.;T@o; ; [I"+This method never raises an exception.;T@o:RDoc::Markup::Verbatim; [ I"response = nil ;TI"4Net::HTTP.start('some.www.server', 80) {|http| ;TI"+ response = http.head('/index.html') ;TI"} ;TI"p response['content-type'];T:@format0: @fileI"lib/net/http.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(path, initheader = nil);T@FI" HTTP;TcRDoc::NormalClass00