Browse Source
split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unn… (#3824)
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>pull/3833/head
LHHDZ
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 52 deletions
-
45weed/s3api/bucket_metadata.go
-
46weed/s3api/bucket_metadata_test.go
-
3weed/s3api/s3_constants/extend_key.go
-
14weed/server/filer_server_handlers_write_autochunk.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" |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue