aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3_constants/header.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/s3api/s3_constants/header.go')
-rw-r--r--weed/s3api/s3_constants/header.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/weed/s3api/s3_constants/header.go b/weed/s3api/s3_constants/header.go
index 5e19d67be..5037f4691 100644
--- a/weed/s3api/s3_constants/header.go
+++ b/weed/s3api/s3_constants/header.go
@@ -38,6 +38,14 @@ const (
AmzTagCount = "x-amz-tagging-count"
X_SeaweedFS_Header_Directory_Key = "x-seaweedfs-is-directory-key"
+
+ // S3 ACL headers
+ AmzCannedAcl = "X-Amz-Acl"
+ AmzAclFullControl = "X-Amz-Grant-Full-Control"
+ AmzAclRead = "X-Amz-Grant-Read"
+ AmzAclWrite = "X-Amz-Grant-Write"
+ AmzAclReadAcp = "X-Amz-Grant-Read-Acp"
+ AmzAclWriteAcp = "X-Amz-Grant-Write-Acp"
)
// Non-Standard S3 HTTP request constants