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::BlankLineo; ; [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