mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
s3: restore V2 auth type
The added headers were included in calculating the signatures, failing the comparison
This commit is contained in:
parent
da87f6b265
commit
aa020ee7e7
|
@ -31,6 +31,6 @@ const (
|
||||||
|
|
||||||
// Non-Standard S3 HTTP request constants
|
// Non-Standard S3 HTTP request constants
|
||||||
const (
|
const (
|
||||||
AmzIdentityId = "x-amz-identity-id"
|
AmzIdentityId = "s3-identity-id"
|
||||||
AmzIsAdmin = "x-amz-is-admin" // only set to http request header as a context
|
AmzIsAdmin = "s3-is-admin" // only set to http request header as a context
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue