Response headers (HEAD object)

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

Response header Description
Accept-Ranges Indicates that HCP can accept requests for part of the object data, specified as a range of bytes. The value of this header is always bytes.
Content-length Specifies the size, in bytes, of the object, object version, or folder. For a delete marker, this is the size of the object or object version that was deleted.
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 by the response-content-type request parameter.

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 delete marker, this is the ETag of the object or object version that was deleted.

Last-Modified

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

The date and time are expressed in this format:

DDD, dd MMM yyyy HH:mm:ss GMT

For example:

Tue, 07 Feb 2017 19:46:03 GMT

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

x-amz-delete-
  marker
For requests that specify a version ID, indicates whether the version ID identifies a delete marker. This header is returned only for delete markers and only if versioning is enabled for the bucket. 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 about this header, see Retrieving custom metadata with the S3 compatible API.
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, that the first line in the annotation doesn’t begin with the metapairs element, or that the specified version ID identifies a delete marker and the deleted object version had an annotation. This header is returned only when applicable. The value is always 1 (one).
x-amz-version-id Specifies the version ID of the object version, delete marker, or folder. This header is returned only while versioning is enabled for the bucket.
x-hcp-retention Specifies the retention value for the object being stored. This value can be a fixed date, an offset, a retention class, or a special value.
x-hcp-retentionhold Specifies whether the object is on hold. This value can be either true or false.

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.