Method: Chef::HTTP#head

Defined in:
lib/chef/http.rb

#head(path, headers = {}) ⇒ Object

Send an HTTP HEAD request to the path

=== Parameters path:: path part of the request URL



112
113
114
# File 'lib/chef/http.rb', line 112

def head(path, headers = {})
  request(:HEAD, path, headers)
end