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 f8599a1670
commit 201fc8fd4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

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