From bdb9e54d33fe9afb05be4a05d36ef094438bfa06 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 28 Dec 2018 22:03:44 +0100 Subject: add tgz and gz to mime file types --- src/main/java/de/pixart/messenger/utils/MimeUtils.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java') 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"); -- cgit v1.2.3