Browse Source

s3: restore V2 auth type

The added headers were included in calculating the signatures, failing the comparison
ftp
Chris Lu 4 years ago
parent
commit
aa020ee7e7
  1. 4
      weed/s3api/http/header.go

4
weed/s3api/http/header.go

@ -31,6 +31,6 @@ const (
// Non-Standard S3 HTTP request constants
const (
AmzIdentityId = "x-amz-identity-id"
AmzIsAdmin = "x-amz-is-admin" // only set to http request header as a context
AmzIdentityId = "s3-identity-id"
AmzIsAdmin = "s3-is-admin" // only set to http request header as a context
)
Loading…
Cancel
Save