2020-08-22 02:35:32 +00:00
|
|
|
package api
|
|
|
|
|
2021-06-30 15:10:11 +00:00
|
|
|
// Standard S3 HTTP request/response constants.
|
2020-08-22 02:35:32 +00:00
|
|
|
const (
|
2021-08-06 15:08:09 +00:00
|
|
|
MetadataPrefix = "X-Amz-Meta-"
|
|
|
|
AmzMetadataDirective = "X-Amz-Metadata-Directive"
|
2021-07-07 14:52:36 +00:00
|
|
|
|
2020-08-22 02:35:32 +00:00
|
|
|
LastModified = "Last-Modified"
|
|
|
|
Date = "Date"
|
|
|
|
ETag = "ETag"
|
|
|
|
ContentType = "Content-Type"
|
|
|
|
ContentMD5 = "Content-Md5"
|
|
|
|
ContentEncoding = "Content-Encoding"
|
|
|
|
Expires = "Expires"
|
|
|
|
ContentLength = "Content-Length"
|
|
|
|
ContentLanguage = "Content-Language"
|
|
|
|
ContentRange = "Content-Range"
|
|
|
|
Connection = "Connection"
|
|
|
|
AcceptRanges = "Accept-Ranges"
|
|
|
|
AmzBucketRegion = "X-Amz-Bucket-Region"
|
|
|
|
ServerInfo = "Server"
|
|
|
|
RetryAfter = "Retry-After"
|
|
|
|
Location = "Location"
|
|
|
|
CacheControl = "Cache-Control"
|
|
|
|
ContentDisposition = "Content-Disposition"
|
|
|
|
Authorization = "Authorization"
|
|
|
|
Action = "Action"
|
2021-06-30 15:10:11 +00:00
|
|
|
IfModifiedSince = "If-Modified-Since"
|
|
|
|
IfUnmodifiedSince = "If-Unmodified-Since"
|
2021-07-02 16:05:43 +00:00
|
|
|
IfMatch = "If-Match"
|
|
|
|
IfNoneMatch = "If-None-Match"
|
2021-07-01 07:45:55 +00:00
|
|
|
|
|
|
|
AmzCopyIfModifiedSince = "X-Amz-Copy-Source-If-Modified-Since"
|
|
|
|
AmzCopyIfUnmodifiedSince = "X-Amz-Copy-Source-If-Unmodified-Since"
|
2021-07-02 16:21:53 +00:00
|
|
|
AmzCopyIfMatch = "X-Amz-Copy-Source-If-Match"
|
|
|
|
AmzCopyIfNoneMatch = "X-Amz-Copy-Source-If-None-Match"
|
2020-08-22 02:35:32 +00:00
|
|
|
)
|