gzip content encoding
This commit is contained in:
@@ -80,6 +80,7 @@ func SetContentTypeIfMedia(w http.ResponseWriter, r *http.Request) {
|
||||
case ".eot":
|
||||
v = "application/vnd.ms-fontobject"
|
||||
case ".gz":
|
||||
w.Header().Set("Content-Encoding", "gzip")
|
||||
v = "application/gzip"
|
||||
case ".gif":
|
||||
v = "image/gif"
|
||||
|
||||
Reference in New Issue
Block a user