From 10025bda458f1fa526d53bda03cbbda17395ad84 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 24 Jul 2020 00:46:51 -0700 Subject: [PATCH] fix: add missing response headers to CORS handler (#10124) --- cmd/api-router.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/api-router.go b/cmd/api-router.go index 6d01c6d5d..0d23050a2 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -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*", "*",