method

head

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