mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
api: Set content-encoding properly if set. (#2245)
Additionally don't set content-type if not present, golang http server automaticaly handles this and sets it automatically.
This commit is contained in:
@@ -107,6 +107,7 @@ const (
|
||||
|
||||
// S3 extended errors.
|
||||
ErrContentSHA256Mismatch
|
||||
|
||||
// Add new extended error codes here.
|
||||
|
||||
// Minio extended errors.
|
||||
|
||||
Reference in New Issue
Block a user