request_head(path, initheader = nil, &block)
Instance Public methods
Sends a HEAD request to the path
and returns the response as a
Net::HTTPResponse object.
Returns the response.
This method never raises Net::* exceptions.
response = http.request_head('/index.html') p response['content-type']
Please login to continue.