mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 11:07:45 +08:00
detect more gzippable content
This commit is contained in:
@@ -87,7 +87,7 @@ func parseMultipart(r *http.Request) (
|
||||
originalDataSize = len(unzipped)
|
||||
}
|
||||
isGzipped = true
|
||||
} else if operation.IsGzippable(ext, mtype) {
|
||||
} else if operation.IsGzippable(ext, mtype, data) {
|
||||
if data, e = operation.GzipData(data); e != nil {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user