Browse Source

manifest file also need to detect compression

fix https://github.com/chrislusf/seaweedfs/issues/1724#issuecomment-753585046
pull/1727/head
Chris Lu 4 years ago
parent
commit
039ad101b1
  1. 2
      weed/storage/needle/needle_parse_upload.go

2
weed/storage/needle/needle_parse_upload.go

@ -193,9 +193,9 @@ func parseMultipart(r *http.Request, sizeLimit int64, pu *ParsedUpload) (e error
mtype = contentType
}
}
pu.IsGzipped = part.Header.Get("Content-Encoding") == "gzip"
// pu.IsZstd = part.Header.Get("Content-Encoding") == "zstd"
}
return
}
Loading…
Cancel
Save