method

head

rails latest stable - Class: ActiveResource::Connection

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).