There are two different modes of accessing buckets: path-style and virtual-hosted-style. Path-
style requests identify the bucket as the top-level directory of the request’s path:
GET /mybucket HTTP/1.1
Host: s3.eu-west-1.peasoup.cloud
Most S3 clients default to virtual-hosted-style access, where the bucket name is instead
indicated as part of the fully-qualified domain name:
GET / HTTP/1.1
Host: mybucket.s3.eu-west-1.peasoup.cloud
Path-style access is deprecated by AWS. See the Amazon S3 Path Deprecation Plan for more
information.
| Request Header | Description |
|---|---|
| CONTENT_LENGTH | Length of the request body. |
| DATE | Request time and date (in UTC). |
| HOST | The name of the host server. |
| AUTHORIZATION | Authorization token. |
| HTTP Status | Response Code |
| 100 | Continue |
| 200 | Success |
| 201 | Created |
| 202 | Accepted |
| 204 | NoContent |
| 206 | Partial content |
| 304 | NotModified |
| 400 | InvalidArgument |
| 400 | InvalidDigest |
| 400 | BadDigest |
| 400 | InvalidBucketName |
| 400 | InvalidObjectName |
| 400 | UnresolvableGrantByEmailAddress |
| 400 | InvalidPart |
| 400 | InvalidPartOrder |
| 400 | RequestTimeout |
| 400 | EntityTooLarge |
| 403 | AccessDenied |
| 403 | UserSuspended |
| 403 | RequestTimeTooSkewed |
| 404 | NoSuchKey |
| 404 | NoSuchBucket |
| 404 | NoSuchUpload |
| 405 | MethodNotAllowed |
| 408 | RequestTimeout |
| 409 | BucketAlreadyExists |
| 409 | BucketNotEmpty |
| 411 | MissingContentLength |
| 412 | PreconditionFailed |
| 416 | InvalidRange |
| 422 | UnprocessableEntity |
| 500 | InternalError |
