Common Response Headers
The following table describes response headers that are common to most Amazon S3 responses.
Name | Description |
---|---|
Access-Control-Allow-Credentials |
A Boolean that determines if the server allows CORS requests to contain
credentials. If the Type: Boolean Default: None |
Access-Control-Allow-Headers |
A list of HTTP headers allowed for your CORS requests. The
Type: String Default: None |
Access-Control-Allow-Methods |
A list that specifies which HTTP methods are allowed. Amazon S3 will only allow CORS requests from allowed CORS methods when the CORS evaluation is successful. Type: String Default: None |
Access-Control-Allow-Origin |
The location of the allowed origin. Amazon S3 will only send the Type: String Default: None |
Access-Control-Expose-Headers |
A list that allows a server to identify a response header that exposes access for applications when the CORS evaluation is successful. Type: String Default: None |
Access-Control-Max-Age |
The time in seconds that your browser can cache the response for a CORS
pre-flight request as identified by the resource, the HTTP method, and the origin. The
Type: Integer Default: None |
Vary |
A list that indicates which request headers the CORS evaluation result varies on. The Type: String Default: None |
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, Type: String Default: None |
Connection |
A value that specifies whether the connection to the server is open or closed. Type: Enum Valid Values: Default: None |
Date |
The date and time that Amazon S3 responded; for example, Wed, 01 Mar 2006 12:00:00 GMT. Type: String Default: None |
ETag
|
The entity tag (ETag) represents a specific version of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag might or might 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 follows:
Type: String |
Server |
The name of the server that created the response. Type: String Default: |
x-amz-delete-marker |
A value that specifies whether the object returned was ( Type: Boolean Valid Values: 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-server-side-encryption |
The server-side encryption algorithm used when storing this object in Amazon S3
(for example, Valid Values: |
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 Type: String Valid Values: Default: null |