Browse Source

Revert "fix content-encoding"

This reverts commit f0c53bfa36.
pull/4090/head
changlin.shi 2 years ago
parent
commit
f47aafa9b9
  1. 4
      weed/server/filer_server_handlers_write_autochunk.go

4
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 {

Loading…
Cancel
Save