aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-12-28 22:03:44 +0100
committerChristian Schneppe <christian@pix-art.de>2018-12-28 22:03:44 +0100
commitbdb9e54d33fe9afb05be4a05d36ef094438bfa06 (patch)
tree6379f4f14d5bcab59beabbf0d1d8866573ce88ed
parent649a14e98a470145342fee0790cdbf23e78d21de (diff)
add tgz and gz to mime file types
-rw-r--r--src/main/java/de/pixart/messenger/utils/MimeUtils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/MimeUtils.java b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
index d8b3f172c..431cde39a 100644
--- a/src/main/java/de/pixart/messenger/utils/MimeUtils.java
+++ b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
@@ -69,6 +69,8 @@ public final class MimeUtils {
add("application/rdf+xml", "rdf");
add("application/rss+xml", "rss");
add("application/zip", "zip");
+ add("application/gzip", "gz");
+ add("application/gzip", "tgz");
add("application/vnd.amazon.mobi8-ebook","azw3");
add("application/vnd.amazon.mobi8-ebook","azw");
add("application/vnd.amazon.mobi8-ebook","kfx");