Common Response Headers
The following table describes response headers that are common to most AWS S3 responses.
Name | Description |
---|---|
Content-Length |
The length in bytes of the body in the response. Type: String Default: None |
Content-Type |
The MIME type of the content. For example, Content-Type: text/html; charset=utf-8 Type: String Default: None |
Connection |
specifies whether the connection to the server is open or closed. Type: Enum Valid Values: open | close Default: None |
Date |
The date and time Amazon S3 responded, for example, Wed, 01 Mar 2006 12:00:00 GMT. Type: String Default: None |
ETag
|
The entity tag represents a specific version of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below:
Type: String |
Server |
The name of the server that created the response. Type: String Default: AmazonS3 |
x-amz-delete-marker |
Specifies whether the object returned was (true) or was not (false) a delete marker. Type: Boolean Valid Values: true | false Default: false |
x-amz-id-2 |
A special token that is used together with the Type: String Default: None |
x-amz-request-id |
A value created by Amazon S3 that uniquely identifies the request. This value is used
together with the Type: String Default: None |
x-amz-version-id |
The version of the object. When you enable versioning, Amazon S3 generates a random
number for objects added to a bucket. The value is UTF-8 encoded and URL ready. When
you PUT an object in a bucket where versioning has been suspended, the version ID is
always Type: String Valid Values: null | any URL-ready, UTF-8 encoded string Default: null |