From 8ac5d5d5fcebad80ad59bca0ce57bedbe0b63efc Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Wed, 6 Oct 2010 15:03:33 +0000 Subject: [PATCH] add some missing mime types --- apps/i2psnark/web.xml | 59 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/apps/i2psnark/web.xml b/apps/i2psnark/web.xml index 71260245f1..d2bc14751b 100644 --- a/apps/i2psnark/web.xml +++ b/apps/i2psnark/web.xml @@ -22,4 +22,63 @@ 30 </session-timeout> </session-config> + + + <!-- mime types not in mime.properties in the jetty 5.1.15 source --> + + <mime-mapping> + <extension>mkv</extension> + <mime-type>video/x-matroska</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>wmv</extension> + <mime-type>video/x-ms-wmv</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>flv</extension> + <mime-type>video/x-flv</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>rar</extension> + <mime-type>application/rar</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>7z</extension> + <mime-type>application/x-7z-compressed</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>iso</extension> + <mime-type>application/x-iso9660-image</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>ico</extension> + <mime-type>image/x-icon</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>exe</extension> + <mime-type>application/x-msdos-program</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>flac</extension> + <mime-type>audio/flac</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>m4a</extension> + <mime-type>audio/mpeg</mime-type> + </mime-mapping> + + <mime-mapping> + <extension>wma</extension> + <mime-type>audio/x-ms-wma</mime-type> + </mime-mapping> + </web-app> -- GitLab