Supported Common Response Headers

The following table identifies the response headers that are common to most Amazon S3 responses.

Table 1-9 Common Supported Response Headers

Supported Response Header Description

Content-Length

The Content-Length header field identifies the response body length in bytes.

Type: String

Default: None

Content-Type

The Content-Type header field identifies the MIME type of the content. For example, Content-Type: text/html; charset=utf-8

Type: String

Default: None

Date

The Date header field identifies the data and time of the S3 response. For example, Wed, 01 Mar 2018 12:00:00 GMT.

Type: String

Default: None

ETag

The ETag header field identifies a specific version of a resource (a hash of the object). The ETag reflects changes only to the contents of an object, not its metadata. The ETag is an MD5 digest of the object data.

Type: String

Server

The Server header field identifies the name of the server that created the response.

Type: String

Valid Value: Apache

x-amz-delete-marker

The x-amz-delete-marker identifies whether the object returned was a delete marker (true) or not (false).

Type: Boolean

Valid Values: true | false

Default: false

x-amz-request-id

The x-amz-request-id is a value that is created by Amazon S3 to uniquely identify a request for troubleshooting purposes.

Type: String

Default: None

x-amz-version-id

When versioning is enabled, the x-amz-version-id identifies the version of the object. When versioning is suspended, the version ID is always null.

Type: String

Valid Values: null | string

Default: null

x-amz-tagging-count

When the count is greater than zero, the x-amz-tagging-count returns the count of the tags associated with the object.

Type: String

Default: None