- commit
- 80b4959
- parent
- 7f62d77
- author
- Eric Bower
- date
- 2025-12-06 22:57:56 -0500 EST
chore(mime): more types
1 files changed,
+9,
-1
1@@ -79,8 +79,16 @@ func GetMimeType(fpath string) string {
2 return "application/zip"
3 case ".rar":
4 return "application/vnd.rar"
5- case ".tar.gz":
6+ case ".gz":
7 return "application/gzip"
8+ case ".bz2":
9+ return "application/x-bzip2"
10+ case ".xz":
11+ return "application/x-xz"
12+ case ".7z":
13+ return "application/x-7z-compressed"
14+ case ".tar":
15+ return "application/x-tar"
16 case ".txt":
17 return "text/plain"
18 }