Add content-sha256 as a default allowed STS header (#10009)
Also, alphabetize those headers... just because.
This commit is contained in:
parent
f8599a1670
commit
201fc8fd4d
|
@ -20,10 +20,11 @@ import (
|
|||
const amzHeaderPrefix = "X-Amz-"
|
||||
|
||||
var defaultAllowedSTSRequestHeaders = []string{
|
||||
"X-Amz-Date",
|
||||
"X-Amz-Credential",
|
||||
"X-Amz-Security-Token",
|
||||
"X-Amz-Algorithm",
|
||||
"X-Amz-Content-Sha256",
|
||||
"X-Amz-Credential",
|
||||
"X-Amz-Date",
|
||||
"X-Amz-Security-Token",
|
||||
"X-Amz-Signature",
|
||||
"X-Amz-SignedHeaders"}
|
||||
|
||||
|
|
Loading…
Reference in New Issue