📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 08:33:30
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Net
/
HTTP
📍 /opt/alt/ruby33/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")Sends a HEAD request to the server; ;TI"<returns an instance of a subclass of Net::HTTPResponse.;To:RDoc::Markup::BlankLine o; ; [I"8The request is based on the Net::HTTP::Head object ;TI"Fcreated from string +path+ and initial headers hash +initheader+:;T@o:RDoc::Markup::Verbatim; [I"Jres = http.head('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true> ;TI"*res.body # => nil ;TI"res.to_hash.take(3) ;TI" # => ;TI"3[["date", ["Wed, 15 Feb 2023 15:25:42 GMT"]], ;TI"= ["content-type", ["application/json; charset=utf-8"]], ;TI" ["connection", ["close"]]];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