aboutsummaryrefslogtreecommitdiff
path: root/go/storage/compress.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/storage/compress.go')
-rw-r--r--go/storage/compress.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/storage/compress.go b/go/storage/compress.go
index b557b3411..846fd0714 100644
--- a/go/storage/compress.go
+++ b/go/storage/compress.go
@@ -19,7 +19,7 @@ func IsGzippable(ext, mtype string) bool {
switch ext {
case ".zip", ".rar", ".gz", ".bz2", ".xz":
return false
- case ".pdf", ".txt", ".html", ".css", ".js", ".json":
+ case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
return true
}
if strings.HasPrefix(mtype, "application/") {