fix: add missing response headers to CORS handler (#10124)

This commit is contained in:
Harshavardhana 2020-07-24 00:46:51 -07:00 committed by GitHub
parent b800541fbe
commit 10025bda45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,6 +322,13 @@ func corsHandler(handler http.Handler) http.Handler {
xhttp.ContentEncoding,
xhttp.ContentLength,
xhttp.ContentType,
xhttp.ContentEncoding,
xhttp.LastModified,
xhttp.ContentLanguage,
xhttp.CacheControl,
xhttp.RetryAfter,
xhttp.AmzBucketRegion,
xhttp.Expires,
"X-Amz*",
"x-amz*",
"*",