aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3_constants/extend_key.go
diff options
context:
space:
mode:
authorLHHDZ <changlin.shi@ly.com>2022-10-12 11:14:14 +0800
committerGitHub <noreply@github.com>2022-10-11 20:14:14 -0700
commitd21e2f523dd949def64e229640b4eb96b96866d2 (patch)
treea87055d2f45a3b70160fae32db1fe086ab084bf5 /weed/s3api/s3_constants/extend_key.go
parentc34f04b35ba2f528d7ebfd183f0826c2632a339b (diff)
downloadseaweedfs-d21e2f523dd949def64e229640b4eb96b96866d2.tar.xz
seaweedfs-d21e2f523dd949def64e229640b4eb96b96866d2.zip
split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unn… (#3824)
split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unnecessary `json.Unmarshal()` call Signed-off-by: changlin.shi <changlin.shi@ly.com> Signed-off-by: changlin.shi <changlin.shi@ly.com>
Diffstat (limited to 'weed/s3api/s3_constants/extend_key.go')
-rw-r--r--weed/s3api/s3_constants/extend_key.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/s3api/s3_constants/extend_key.go b/weed/s3api/s3_constants/extend_key.go
index 10b69979e..f78983a99 100644
--- a/weed/s3api/s3_constants/extend_key.go
+++ b/weed/s3api/s3_constants/extend_key.go
@@ -1,6 +1,7 @@
package s3_constants
const (
- ExtAcpKey = "Seaweed-X-Amz-Acp"
+ ExtAmzOwnerKey = "Seaweed-X-Amz-Owner"
+ ExtAmzAclKey = "Seaweed-X-Amz-Acl"
ExtOwnershipKey = "Seaweed-X-Amz-Ownership"
)