HEAD object response headers

The table below describes the response headers returned in response to a successful request to check the existence an object, object version, or folder.

Request header Description
Content-length Specifies the size, in bytes, of the object, object version, or folder.
Content-Type

Specifies the Internet media type of the object or object version, or folder. This is one of, in order of precedence:

The Internet media type specified in the Content-Type header when the object was stored.

An Internet media type determined by HCP based on the object name.

application/octet-stream if HCP cannot determine the Internet media type. For a folder, the value of the Content-Type header is always application/octet-stream.

Date See Common response headers
ETag

Specifies the ETag for the specified object, object version, or folder. For a deleted version, this is the ETag of the version of the object that was deleted.

Last-Modified

Specifies the date and time at which the object, object version, or folder was last modified, in Greenwich Mean Time (GMT). For a deleted version, this is the date and time at which the deleted version was created.

The date and time are expressed in this format:

DDD, dd MMM yyyy HH:mm:ss GMT

For example:

Mon, 18 Mar 2013 19:46:03 GMT

Modifying an object means modifying its metadata. You cannot modify the content of an object.

Server See Common response headers.
x-amz-delete-marker For object versions only, indicates whether the object version is a deleted version. This header is returned only if versioning is enabled for the bucket and the object version is a deleted version. The value is always true.
x-amz-meta- For objects and object versions only, specifies a custom metadata property/value pair. The response headers include one x-amz-meta- header for each applicable pair. For more information on this header, see Retrieving custom metadata with HS3.
x-amz-missing-meta For objects and object versions only, indicates that the .metapairs annotation for the object or object version doesn’t contain valid XML or that the first line in the annotation doesn’t begin with the metapairs element. This header is returned only when applicable. The value is always 1 (one).
x-amz-version-id Specifies the version ID of the folder. This header is returned only while versioning is enabled.

Trademarks and Legal Disclaimer

© 2017 Hitachi Data Systems Corporation. All rights reserved.