-
Notifications
You must be signed in to change notification settings - Fork 32
s3.head()
SaltwaterC edited this page Nov 16, 2011
·
2 revisions
Low level method for sending HEAD requests to the S3 REST API.
s3.head(path, callback)
- 'path' - the S3 Path.
- 'callback' - the callback that is executed when the processing finishes. It has a couple of arguments: error and result.
- If there's an error, the callback receives the error argument as Error instance.
- If the error argument is null, then the response argument contains the response.headers object as returned by the node.js core HTTPS client.