summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/minio/minio-go/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/minio/minio-go/utils.go')
-rw-r--r--vendor/github.com/minio/minio-go/utils.go21
1 files changed, 1 insertions, 20 deletions
diff --git a/vendor/github.com/minio/minio-go/utils.go b/vendor/github.com/minio/minio-go/utils.go
index 0f92546d3..2f02ac89f 100644
--- a/vendor/github.com/minio/minio-go/utils.go
+++ b/vendor/github.com/minio/minio-go/utils.go
@@ -221,16 +221,10 @@ var supportedHeaders = []string{
"cache-control",
"content-encoding",
"content-disposition",
+ "content-language",
// Add more supported headers here.
}
-// cseHeaders is list of client side encryption headers
-var cseHeaders = []string{
- "X-Amz-Iv",
- "X-Amz-Key",
- "X-Amz-Matdesc",
-}
-
// isStorageClassHeader returns true if the header is a supported storage class header
func isStorageClassHeader(headerKey string) bool {
return strings.ToLower(amzStorageClass) == strings.ToLower(headerKey)
@@ -247,19 +241,6 @@ func isStandardHeader(headerKey string) bool {
return false
}
-// isCSEHeader returns true if header is a client side encryption header.
-func isCSEHeader(headerKey string) bool {
- key := strings.ToLower(headerKey)
- for _, h := range cseHeaders {
- header := strings.ToLower(h)
- if (header == key) ||
- (("x-amz-meta-" + header) == key) {
- return true
- }
- }
- return false
-}
-
// sseHeaders is list of server side encryption headers
var sseHeaders = []string{
"x-amz-server-side-encryption",