class Patron::Session

def head(url, headers = {})

Returns:
  • (Patron::Response) -

Parameters:
  • headers (Hash) -- the hash of header keys to values
  • url (String) -- the URL to fetch

Other tags:
    See: #get -
def head(url, headers = {})
  request(:head, url, headers)
end