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:
Harshavardhana
2016-07-20 12:40:20 -07:00
committed by GitHub
parent 18728a0b59
commit c1e953b368
5 changed files with 34 additions and 14 deletions
+1
View File
@@ -107,6 +107,7 @@ const (
// S3 extended errors.
ErrContentSHA256Mismatch
// Add new extended error codes here.
// Minio extended errors.