Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v3.2.13) is shown here.
head(path, headers = {})
public
Executes a HEAD request. Used to obtain
meta-information about resources, such as whether they exist and their size
(via response headers).
# File activeresource/lib/active_resource/connection.rb, line 103
def head(path, headers = {})
with_auth { request(:head, path, build_request_headers(headers, :head, self.site.merge(path))) }
end