From f47aafa9b9699fff764c133b6e8b15235f01202d Mon Sep 17 00:00:00 2001 From: "changlin.shi" Date: Wed, 23 Nov 2022 10:46:57 +0800 Subject: [PATCH] Revert "fix content-encoding" This reverts commit f0c53bfa363ace80787c67ab277a2452fa635b12. --- weed/server/filer_server_handlers_write_autochunk.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.go index 4a6219c00..7064cac02 100644 --- a/weed/server/filer_server_handlers_write_autochunk.go +++ b/weed/server/filer_server_handlers_write_autochunk.go @@ -381,10 +381,6 @@ func SaveAmzMetaData(r *http.Request, existing map[string][]byte, isReplace bool metadata[s3_constants.ExtAmzOwnerKey] = []byte(acpOwner) } - if ce := r.Header.Get("Content-Encoding"); ce != "" { - metadata["Content-Encoding"] = []byte(ce) - } - //acp-grants acpGrants := r.Header.Get(s3_constants.ExtAmzAclKey) if len(acpOwner) > 0 {