Add content-sha256 as a default allowed STS header (#10009)

Also, alphabetize those headers... just because.
This commit is contained in:
Lauren Voswinkel
2020-09-22 10:02:37 -07:00
committed by GitHub
parent 64264dc166
commit 37cc869b40

View File

@@ -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"}