📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 13:56:14
📂
/ (Root)
/
opt
/
alt
/
ruby31
/
share
/
ri
/
system
/
Net
/
HTTP
📍 /opt/alt/ruby31/share/ri/system/Net/HTTP
🔄 Refresh
✏️
Editing: head-i.ri
Read Only
U:RDoc::AnyMethod[iI" head:ETI"Net::HTTP#head;TF:privateo: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
💾 Save Changes
❌ Cancel