| Did this page help you? Yes No Tell us about it... |
Amazon S3 REST requests include headers that contain basic information about the request. The following table describes headers that can be used by all Amazon S3 REST requests.
| Header Name | Description | Required |
|---|---|---|
Authorization |
The information required for request authentication. Type: String Default: None | Yes |
Content-Length |
Length of the message (without the headers) according to RFC 2616. Type: String Default: None Condition: Required for PUTs and operations that load XML, such as logging and ACLs. | Conditional |
Content-Type |
The content type of the resource. Example:
Type: String Default: None | No |
Date |
The current date and time according to the requester. Example:
Type: String Default: None | Yes |
Host |
For path-style requests, the value is Type: String Default: None Condition: Required for HTTP 1.1 (most toolkits add this header automatically); optional for HTTP/1.0 requests. | Conditional |
x-amz-security-token |
This header can be used in the following scenarios:
Type: String Default: None Condition: Required for requests that use Amazon DevPay and requests that are signed using temporary security credentials. | Conditional |