{-# LANGUAGE OverloadedStrings #-}
module Network.Mime
(
mimeByExt
, defaultMimeLookup
, defaultMimeType
, defaultMimeMap
, fileNameExtensions
, FileName
, MimeType
, MimeMap
, Extension
) where
import Data.Text (Text)
import qualified Data.Text as T
import Data.ByteString (ByteString)
import Data.ByteString.Char8 ()
import qualified Data.Map as Map
type MimeMap = Map.Map Extension MimeType
type FileName = Text
type MimeType = ByteString
mimeByExt :: MimeMap
-> MimeType
-> FileName
-> MimeType
mimeByExt :: MimeMap -> MimeType -> FileName -> MimeType
mimeByExt MimeMap
mm MimeType
def =
[FileName] -> MimeType
go ([FileName] -> MimeType)
-> (FileName -> [FileName]) -> FileName -> MimeType
forall b c a. (b -> c) -> (a -> b) -> a -> c
. FileName -> [FileName]
fileNameExtensions
where
go :: [FileName] -> MimeType
go [] = MimeType
def
go (FileName
e:[FileName]
es) =
case FileName -> MimeMap -> Maybe MimeType
forall k a. Ord k => k -> Map k a -> Maybe a
Map.lookup FileName
e MimeMap
mm of
Maybe MimeType
Nothing -> [FileName] -> MimeType
go [FileName]
es
Just MimeType
mt -> MimeType
mt
defaultMimeLookup :: FileName -> MimeType
defaultMimeLookup :: FileName -> MimeType
defaultMimeLookup = MimeMap -> MimeType -> FileName -> MimeType
mimeByExt MimeMap
defaultMimeMap MimeType
defaultMimeType
fileNameExtensions :: FileName -> [Extension]
fileNameExtensions :: FileName -> [FileName]
fileNameExtensions =
FileName -> [FileName]
go (FileName -> [FileName])
-> (FileName -> FileName) -> FileName -> [FileName]
forall b c a. (b -> c) -> (a -> b) -> a -> c
. FileName -> FileName
T.toLower (FileName -> FileName)
-> (FileName -> FileName) -> FileName -> FileName
forall b c a. (b -> c) -> (a -> b) -> a -> c
. FileName -> FileName
dropToExt
where
dropToExt :: FileName -> FileName
dropToExt = Int -> FileName -> FileName
T.drop Int
1 (FileName -> FileName)
-> (FileName -> FileName) -> FileName -> FileName
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (Char -> Bool) -> FileName -> FileName
T.dropWhile (Char -> Char -> Bool
forall a. Eq a => a -> a -> Bool
/= Char
'.')
go :: FileName -> [FileName]
go FileName
e
| FileName -> Bool
T.null FileName
e = []
| Bool
otherwise = FileName
e FileName -> [FileName] -> [FileName]
forall a. a -> [a] -> [a]
: FileName -> [FileName]
go FileName
next
where
next :: FileName
next = FileName -> FileName
dropToExt FileName
e
type Extension = Text
defaultMimeType :: MimeType
defaultMimeType :: MimeType
defaultMimeType = MimeType
"application/octet-stream"
defaultMimeMap :: MimeMap
defaultMimeMap :: MimeMap
defaultMimeMap = [(FileName, MimeType)] -> MimeMap
forall k a. Eq k => [(k, a)] -> Map k a
Map.fromAscList [
(FileName
"123", MimeType
"application/vnd.lotus-1-2-3")
, (FileName
"3dml", MimeType
"text/vnd.in3d.3dml")
, (FileName
"3ds", MimeType
"image/x-3ds")
, (FileName
"3g2", MimeType
"video/3gpp2")
, (FileName
"3gp", MimeType
"video/3gpp")
, (FileName
"3gpp", MimeType
"video/3gpp")
, (FileName
"7z", MimeType
"application/x-7z-compressed")
, (FileName
"aab", MimeType
"application/x-authorware-bin")
, (FileName
"aac", MimeType
"audio/x-aac")
, (FileName
"aam", MimeType
"application/x-authorware-map")
, (FileName
"aas", MimeType
"application/x-authorware-seg")
, (FileName
"abw", MimeType
"application/x-abiword")
, (FileName
"ac", MimeType
"application/pkix-attr-cert")
, (FileName
"acc", MimeType
"application/vnd.americandynamics.acc")
, (FileName
"ace", MimeType
"application/x-ace-compressed")
, (FileName
"acu", MimeType
"application/vnd.acucobol")
, (FileName
"acutc", MimeType
"application/vnd.acucorp")
, (FileName
"adp", MimeType
"audio/adpcm")
, (FileName
"aep", MimeType
"application/vnd.audiograph")
, (FileName
"afm", MimeType
"application/x-font-type1")
, (FileName
"afp", MimeType
"application/vnd.ibm.modcap")
, (FileName
"ahead", MimeType
"application/vnd.ahead.space")
, (FileName
"ai", MimeType
"application/postscript")
, (FileName
"aif", MimeType
"audio/x-aiff")
, (FileName
"aifc", MimeType
"audio/x-aiff")
, (FileName
"aiff", MimeType
"audio/x-aiff")
, (FileName
"air", MimeType
"application/vnd.adobe.air-application-installer-package+zip")
, (FileName
"ait", MimeType
"application/vnd.dvb.ait")
, (FileName
"ami", MimeType
"application/vnd.amiga.ami")
, (FileName
"apk", MimeType
"application/vnd.android.package-archive")
, (FileName
"appcache", MimeType
"text/cache-manifest")
, (FileName
"application", MimeType
"application/x-ms-application")
, (FileName
"apr", MimeType
"application/vnd.lotus-approach")
, (FileName
"arc", MimeType
"application/x-freearc")
, (FileName
"asc", MimeType
"text/plain")
, (FileName
"asf", MimeType
"video/x-ms-asf")
, (FileName
"asm", MimeType
"text/x-asm")
, (FileName
"aso", MimeType
"application/vnd.accpac.simply.aso")
, (FileName
"asx", MimeType
"video/x-ms-asf")
, (FileName
"atc", MimeType
"application/vnd.acucorp")
, (FileName
"atom", MimeType
"application/atom+xml")
, (FileName
"atomcat", MimeType
"application/atomcat+xml")
, (FileName
"atomsvc", MimeType
"application/atomsvc+xml")
, (FileName
"atx", MimeType
"application/vnd.antix.game-component")
, (FileName
"au", MimeType
"audio/basic")
, (FileName
"avi", MimeType
"video/x-msvideo")
, (FileName
"aw", MimeType
"application/applixware")
, (FileName
"azf", MimeType
"application/vnd.airzip.filesecure.azf")
, (FileName
"azs", MimeType
"application/vnd.airzip.filesecure.azs")
, (FileName
"azw", MimeType
"application/vnd.amazon.ebook")
, (FileName
"bat", MimeType
"application/x-msdownload")
, (FileName
"bcpio", MimeType
"application/x-bcpio")
, (FileName
"bdf", MimeType
"application/x-font-bdf")
, (FileName
"bdm", MimeType
"application/vnd.syncml.dm+wbxml")
, (FileName
"bed", MimeType
"application/vnd.realvnc.bed")
, (FileName
"bh2", MimeType
"application/vnd.fujitsu.oasysprs")
, (FileName
"bin", MimeType
"application/octet-stream")
, (FileName
"blb", MimeType
"application/x-blorb")
, (FileName
"blorb", MimeType
"application/x-blorb")
, (FileName
"bmi", MimeType
"application/vnd.bmi")
, (FileName
"bmp", MimeType
"image/bmp")
, (FileName
"book", MimeType
"application/vnd.framemaker")
, (FileName
"box", MimeType
"application/vnd.previewsystems.box")
, (FileName
"boz", MimeType
"application/x-bzip2")
, (FileName
"bpk", MimeType
"application/octet-stream")
, (FileName
"btif", MimeType
"image/prs.btif")
, (FileName
"bz", MimeType
"application/x-bzip")
, (FileName
"bz2", MimeType
"application/x-bzip")
, (FileName
"c", MimeType
"text/plain")
, (FileName
"c11amc", MimeType
"application/vnd.cluetrust.cartomobile-config")
, (FileName
"c11amz", MimeType
"application/vnd.cluetrust.cartomobile-config-pkg")
, (FileName
"c4d", MimeType
"application/vnd.clonk.c4group")
, (FileName
"c4f", MimeType
"application/vnd.clonk.c4group")
, (FileName
"c4g", MimeType
"application/vnd.clonk.c4group")
, (FileName
"c4p", MimeType
"application/vnd.clonk.c4group")
, (FileName
"c4u", MimeType
"application/vnd.clonk.c4group")
, (FileName
"cab", MimeType
"application/vnd.ms-cab-compressed")
, (FileName
"caf", MimeType
"audio/x-caf")
, (FileName
"cap", MimeType
"application/vnd.tcpdump.pcap")
, (FileName
"car", MimeType
"application/vnd.curl.car")
, (FileName
"cat", MimeType
"application/vnd.ms-pki.seccat")
, (FileName
"cb7", MimeType
"application/x-cbr")
, (FileName
"cba", MimeType
"application/x-cbr")
, (FileName
"cbr", MimeType
"application/x-cbr")
, (FileName
"cbt", MimeType
"application/x-cbr")
, (FileName
"cbz", MimeType
"application/x-cbr")
, (FileName
"cc", MimeType
"text/x-c")
, (FileName
"cco", MimeType
"application/x-cocoa")
, (FileName
"cct", MimeType
"application/x-director")
, (FileName
"ccxml", MimeType
"application/ccxml+xml")
, (FileName
"cdbcmsg", MimeType
"application/vnd.contact.cmsg")
, (FileName
"cdf", MimeType
"application/x-netcdf")
, (FileName
"cdkey", MimeType
"application/vnd.mediastation.cdkey")
, (FileName
"cdmia", MimeType
"application/cdmi-capability")
, (FileName
"cdmic", MimeType
"application/cdmi-container")
, (FileName
"cdmid", MimeType
"application/cdmi-domain")
, (FileName
"cdmio", MimeType
"application/cdmi-object")
, (FileName
"cdmiq", MimeType
"application/cdmi-queue")
, (FileName
"cdx", MimeType
"chemical/x-cdx")
, (FileName
"cdxml", MimeType
"application/vnd.chemdraw+xml")
, (FileName
"cdy", MimeType
"application/vnd.cinderella")
, (FileName
"cer", MimeType
"application/pkix-cert")
, (FileName
"cfs", MimeType
"application/x-cfs-compressed")
, (FileName
"cgm", MimeType
"image/cgm")
, (FileName
"chat", MimeType
"application/x-chat")
, (FileName
"chm", MimeType
"application/vnd.ms-htmlhelp")
, (FileName
"chrt", MimeType
"application/vnd.kde.kchart")
, (FileName
"cif", MimeType
"chemical/x-cif")
, (FileName
"cii", MimeType
"application/vnd.anser-web-certificate-issue-initiation")
, (FileName
"cil", MimeType
"application/vnd.ms-artgalry")
, (FileName
"cla", MimeType
"application/vnd.claymore")
, (FileName
"class", MimeType
"application/java-vm")
, (FileName
"clkk", MimeType
"application/vnd.crick.clicker.keyboard")
, (FileName
"clkp", MimeType
"application/vnd.crick.clicker.palette")
, (FileName
"clkt", MimeType
"application/vnd.crick.clicker.template")
, (FileName
"clkw", MimeType
"application/vnd.crick.clicker.wordbank")
, (FileName
"clkx", MimeType
"application/vnd.crick.clicker")
, (FileName
"clp", MimeType
"application/x-msclip")
, (FileName
"cmc", MimeType
"application/vnd.cosmocaller")
, (FileName
"cmdf", MimeType
"chemical/x-cmdf")
, (FileName
"cml", MimeType
"chemical/x-cml")
, (FileName
"cmp", MimeType
"application/vnd.yellowriver-custom-menu")
, (FileName
"cmx", MimeType
"image/x-cmx")
, (FileName
"cod", MimeType
"application/vnd.rim.cod")
, (FileName
"com", MimeType
"application/x-msdownload")
, (FileName
"conf", MimeType
"text/plain")
, (FileName
"cpio", MimeType
"application/x-cpio")
, (FileName
"cpp", MimeType
"text/plain")
, (FileName
"cpt", MimeType
"application/mac-compactpro")
, (FileName
"crd", MimeType
"application/x-mscardfile")
, (FileName
"crl", MimeType
"application/pkix-crl")
, (FileName
"crt", MimeType
"application/x-x509-ca-cert")
, (FileName
"cryptonote", MimeType
"application/vnd.rig.cryptonote")
, (FileName
"csh", MimeType
"application/x-csh")
, (FileName
"csml", MimeType
"chemical/x-csml")
, (FileName
"csp", MimeType
"application/vnd.commonspace")
, (FileName
"css", MimeType
"text/css")
, (FileName
"cst", MimeType
"application/x-director")
, (FileName
"csv", MimeType
"text/csv")
, (FileName
"cu", MimeType
"application/cu-seeme")
, (FileName
"curl", MimeType
"text/vnd.curl")
, (FileName
"cww", MimeType
"application/prs.cww")
, (FileName
"cxt", MimeType
"application/x-director")
, (FileName
"cxx", MimeType
"text/plain")
, (FileName
"dae", MimeType
"model/vnd.collada+xml")
, (FileName
"daf", MimeType
"application/vnd.mobius.daf")
, (FileName
"dart", MimeType
"application/vnd.dart")
, (FileName
"dataless", MimeType
"application/vnd.fdsn.seed")
, (FileName
"davmount", MimeType
"application/davmount+xml")
, (FileName
"dbk", MimeType
"application/docbook+xml")
, (FileName
"dcr", MimeType
"application/x-director")
, (FileName
"dcurl", MimeType
"text/vnd.curl.dcurl")
, (FileName
"dd2", MimeType
"application/vnd.oma.dd2+xml")
, (FileName
"ddd", MimeType
"application/vnd.fujixerox.ddd")
, (FileName
"deb", MimeType
"application/x-debian-package")
, (FileName
"def", MimeType
"text/plain")
, (FileName
"deploy", MimeType
"application/octet-stream")
, (FileName
"der", MimeType
"application/x-x509-ca-cert")
, (FileName
"dfac", MimeType
"application/vnd.dreamfactory")
, (FileName
"dgc", MimeType
"application/x-dgc-compressed")
, (FileName
"dic", MimeType
"text/x-c")
, (FileName
"dir", MimeType
"application/x-director")
, (FileName
"dis", MimeType
"application/vnd.mobius.dis")
, (FileName
"dist", MimeType
"application/octet-stream")
, (FileName
"distz", MimeType
"application/octet-stream")
, (FileName
"djv", MimeType
"image/vnd.djvu")
, (FileName
"djvu", MimeType
"image/vnd.djvu")
, (FileName
"dll", MimeType
"application/x-msdownload")
, (FileName
"dmg", MimeType
"application/x-apple-diskimage")
, (FileName
"dmp", MimeType
"application/vnd.tcpdump.pcap")
, (FileName
"dms", MimeType
"application/octet-stream")
, (FileName
"dna", MimeType
"application/vnd.dna")
, (FileName
"doc", MimeType
"application/msword")
, (FileName
"docm", MimeType
"application/vnd.ms-word.document.macroenabled.12")
, (FileName
"docx", MimeType
"application/vnd.openxmlformats-officedocument.wordprocessingml.document")
, (FileName
"dot", MimeType
"application/msword")
, (FileName
"dotm", MimeType
"application/vnd.ms-word.template.macroenabled.12")
, (FileName
"dotx", MimeType
"application/vnd.openxmlformats-officedocument.wordprocessingml.template")
, (FileName
"dp", MimeType
"application/vnd.osgi.dp")
, (FileName
"dpg", MimeType
"application/vnd.dpgraph")
, (FileName
"dra", MimeType
"audio/vnd.dra")
, (FileName
"dsc", MimeType
"text/prs.lines.tag")
, (FileName
"dssc", MimeType
"application/dssc+der")
, (FileName
"dtb", MimeType
"application/x-dtbook+xml")
, (FileName
"dtd", MimeType
"application/xml-dtd")
, (FileName
"dts", MimeType
"audio/vnd.dts")
, (FileName
"dtshd", MimeType
"audio/vnd.dts.hd")
, (FileName
"dump", MimeType
"application/octet-stream")
, (FileName
"dvb", MimeType
"video/vnd.dvb.file")
, (FileName
"dvi", MimeType
"application/x-dvi")
, (FileName
"dwf", MimeType
"model/vnd.dwf")
, (FileName
"dwg", MimeType
"image/vnd.dwg")
, (FileName
"dxf", MimeType
"image/vnd.dxf")
, (FileName
"dxp", MimeType
"application/vnd.spotfire.dxp")
, (FileName
"dxr", MimeType
"application/x-director")
, (FileName
"ear", MimeType
"application/java-archive")
, (FileName
"ecelp4800", MimeType
"audio/vnd.nuera.ecelp4800")
, (FileName
"ecelp7470", MimeType
"audio/vnd.nuera.ecelp7470")
, (FileName
"ecelp9600", MimeType
"audio/vnd.nuera.ecelp9600")
, (FileName
"ecma", MimeType
"application/ecmascript")
, (FileName
"edm", MimeType
"application/vnd.novadigm.edm")
, (FileName
"edx", MimeType
"application/vnd.novadigm.edx")
, (FileName
"efif", MimeType
"application/vnd.picsel")
, (FileName
"ei6", MimeType
"application/vnd.pg.osasli")
, (FileName
"elc", MimeType
"application/octet-stream")
, (FileName
"emf", MimeType
"application/x-msmetafile")
, (FileName
"eml", MimeType
"message/rfc822")
, (FileName
"emma", MimeType
"application/emma+xml")
, (FileName
"emz", MimeType
"application/x-msmetafile")
, (FileName
"eol", MimeType
"audio/vnd.digital-winds")
, (FileName
"eot", MimeType
"application/vnd.ms-fontobject")
, (FileName
"eps", MimeType
"application/postscript")
, (FileName
"epub", MimeType
"application/epub+zip")
, (FileName
"es3", MimeType
"application/vnd.eszigno3+xml")
, (FileName
"esa", MimeType
"application/vnd.osgi.subsystem")
, (FileName
"esf", MimeType
"application/vnd.epson.esf")
, (FileName
"et3", MimeType
"application/vnd.eszigno3+xml")
, (FileName
"etx", MimeType
"text/x-setext")
, (FileName
"eva", MimeType
"application/x-eva")
, (FileName
"evy", MimeType
"application/x-envoy")
, (FileName
"exe", MimeType
"application/x-msdownload")
, (FileName
"exi", MimeType
"application/exi")
, (FileName
"ext", MimeType
"application/vnd.novadigm.ext")
, (FileName
"ez", MimeType
"application/andrew-inset")
, (FileName
"ez2", MimeType
"application/vnd.ezpix-album")
, (FileName
"ez3", MimeType
"application/vnd.ezpix-package")
, (FileName
"f", MimeType
"text/x-fortran")
, (FileName
"f4v", MimeType
"video/x-f4v")
, (FileName
"f77", MimeType
"text/x-fortran")
, (FileName
"f90", MimeType
"text/x-fortran")
, (FileName
"fbs", MimeType
"image/vnd.fastbidsheet")
, (FileName
"fcdt", MimeType
"application/vnd.adobe.formscentral.fcdt")
, (FileName
"fcs", MimeType
"application/vnd.isac.fcs")
, (FileName
"fdf", MimeType
"application/vnd.fdf")
, (FileName
"fe_launch", MimeType
"application/vnd.denovo.fcselayout-link")
, (FileName
"fg5", MimeType
"application/vnd.fujitsu.oasysgp")
, (FileName
"fgd", MimeType
"application/x-director")
, (FileName
"fh", MimeType
"image/x-freehand")
, (FileName
"fh4", MimeType
"image/x-freehand")
, (FileName
"fh5", MimeType
"image/x-freehand")
, (FileName
"fh7", MimeType
"image/x-freehand")
, (FileName
"fhc", MimeType
"image/x-freehand")
, (FileName
"fig", MimeType
"application/x-xfig")
, (FileName
"flac", MimeType
"audio/x-flac")
, (FileName
"fli", MimeType
"video/x-fli")
, (FileName
"flo", MimeType
"application/vnd.micrografx.flo")
, (FileName
"flv", MimeType
"video/x-flv")
, (FileName
"flw", MimeType
"application/vnd.kde.kivio")
, (FileName
"flx", MimeType
"text/vnd.fmi.flexstor")
, (FileName
"fly", MimeType
"text/vnd.fly")
, (FileName
"fm", MimeType
"application/vnd.framemaker")
, (FileName
"fnc", MimeType
"application/vnd.frogans.fnc")
, (FileName
"for", MimeType
"text/x-fortran")
, (FileName
"fpx", MimeType
"image/vnd.fpx")
, (FileName
"frame", MimeType
"application/vnd.framemaker")
, (FileName
"fsc", MimeType
"application/vnd.fsc.weblaunch")
, (FileName
"fst", MimeType
"image/vnd.fst")
, (FileName
"ftc", MimeType
"application/vnd.fluxtime.clip")
, (FileName
"fti", MimeType
"application/vnd.anser-web-funds-transfer-initiation")
, (FileName
"fvt", MimeType
"video/vnd.fvt")
, (FileName
"fxp", MimeType
"application/vnd.adobe.fxp")
, (FileName
"fxpl", MimeType
"application/vnd.adobe.fxp")
, (FileName
"fzs", MimeType
"application/vnd.fuzzysheet")
, (FileName
"g2w", MimeType
"application/vnd.geoplan")
, (FileName
"g3", MimeType
"image/g3fax")
, (FileName
"g3w", MimeType
"application/vnd.geospace")
, (FileName
"gac", MimeType
"application/vnd.groove-account")
, (FileName
"gam", MimeType
"application/x-tads")
, (FileName
"gbr", MimeType
"application/rpki-ghostbusters")
, (FileName
"gca", MimeType
"application/x-gca-compressed")
, (FileName
"gdl", MimeType
"model/vnd.gdl")
, (FileName
"geo", MimeType
"application/vnd.dynageo")
, (FileName
"gex", MimeType
"application/vnd.geometry-explorer")
, (FileName
"ggb", MimeType
"application/vnd.geogebra.file")
, (FileName
"ggt", MimeType
"application/vnd.geogebra.tool")
, (FileName
"ghf", MimeType
"application/vnd.groove-help")
, (FileName
"gif", MimeType
"image/gif")
, (FileName
"gim", MimeType
"application/vnd.groove-identity-message")
, (FileName
"gml", MimeType
"application/gml+xml")
, (FileName
"gmx", MimeType
"application/vnd.gmx")
, (FileName
"gnumeric", MimeType
"application/x-gnumeric")
, (FileName
"gph", MimeType
"application/vnd.flographit")
, (FileName
"gpx", MimeType
"application/gpx+xml")
, (FileName
"gqf", MimeType
"application/vnd.grafeq")
, (FileName
"gqs", MimeType
"application/vnd.grafeq")
, (FileName
"gram", MimeType
"application/srgs")
, (FileName
"gramps", MimeType
"application/x-gramps-xml")
, (FileName
"gre", MimeType
"application/vnd.geometry-explorer")
, (FileName
"grv", MimeType
"application/vnd.groove-injector")
, (FileName
"grxml", MimeType
"application/srgs+xml")
, (FileName
"gsf", MimeType
"application/x-font-ghostscript")
, (FileName
"gtar", MimeType
"application/x-gtar")
, (FileName
"gtm", MimeType
"application/vnd.groove-tool-message")
, (FileName
"gtw", MimeType
"model/vnd.gtw")
, (FileName
"gv", MimeType
"text/vnd.graphviz")
, (FileName
"gxf", MimeType
"application/gxf")
, (FileName
"gxt", MimeType
"application/vnd.geonext")
, (FileName
"gz", MimeType
"application/x-gzip")
, (FileName
"h", MimeType
"text/x-c")
, (FileName
"h261", MimeType
"video/h261")
, (FileName
"h263", MimeType
"video/h263")
, (FileName
"h264", MimeType
"video/h264")
, (FileName
"hal", MimeType
"application/vnd.hal+xml")
, (FileName
"hbci", MimeType
"application/vnd.hbci")
, (FileName
"hdf", MimeType
"application/x-hdf")
, (FileName
"hh", MimeType
"text/x-c")
, (FileName
"hlp", MimeType
"application/winhlp")
, (FileName
"hpgl", MimeType
"application/vnd.hp-hpgl")
, (FileName
"hpid", MimeType
"application/vnd.hp-hpid")
, (FileName
"hps", MimeType
"application/vnd.hp-hps")
, (FileName
"hqx", MimeType
"application/mac-binhex40")
, (FileName
"hs", MimeType
"text/plain")
, (FileName
"htc", MimeType
"text/x-component")
, (FileName
"htke", MimeType
"application/vnd.kenameaapp")
, (FileName
"htm", MimeType
"text/html")
, (FileName
"html", MimeType
"text/html")
, (FileName
"hvd", MimeType
"application/vnd.yamaha.hv-dic")
, (FileName
"hvp", MimeType
"application/vnd.yamaha.hv-voice")
, (FileName
"hvs", MimeType
"application/vnd.yamaha.hv-script")
, (FileName
"i2g", MimeType
"application/vnd.intergeo")
, (FileName
"icc", MimeType
"application/vnd.iccprofile")
, (FileName
"ice", MimeType
"x-conference/x-cooltalk")
, (FileName
"icm", MimeType
"application/vnd.iccprofile")
, (FileName
"ico", MimeType
"image/vnd.microsoft.icon")
, (FileName
"ics", MimeType
"text/calendar")
, (FileName
"ief", MimeType
"image/ief")
, (FileName
"ifb", MimeType
"text/calendar")
, (FileName
"ifm", MimeType
"application/vnd.shana.informed.formdata")
, (FileName
"iges", MimeType
"model/iges")
, (FileName
"igl", MimeType
"application/vnd.igloader")
, (FileName
"igm", MimeType
"application/vnd.insors.igm")
, (FileName
"igs", MimeType
"model/iges")
, (FileName
"igx", MimeType
"application/vnd.micrografx.igx")
, (FileName
"iif", MimeType
"application/vnd.shana.informed.interchange")
, (FileName
"img", MimeType
"application/octet-stream")
, (FileName
"imp", MimeType
"application/vnd.accpac.simply.imp")
, (FileName
"ims", MimeType
"application/vnd.ms-ims")
, (FileName
"in", MimeType
"text/plain")
, (FileName
"ink", MimeType
"application/inkml+xml")
, (FileName
"inkml", MimeType
"application/inkml+xml")
, (FileName
"install", MimeType
"application/x-install-instructions")
, (FileName
"iota", MimeType
"application/vnd.astraea-software.iota")
, (FileName
"ipfix", MimeType
"application/ipfix")
, (FileName
"ipk", MimeType
"application/vnd.shana.informed.package")
, (FileName
"irm", MimeType
"application/vnd.ibm.rights-management")
, (FileName
"irp", MimeType
"application/vnd.irepository.package+xml")
, (FileName
"iso", MimeType
"application/x-iso9660-image")
, (FileName
"itp", MimeType
"application/vnd.shana.informed.formtemplate")
, (FileName
"ivp", MimeType
"application/vnd.immervision-ivp")
, (FileName
"ivu", MimeType
"application/vnd.immervision-ivu")
, (FileName
"jad", MimeType
"text/vnd.sun.j2me.app-descriptor")
, (FileName
"jam", MimeType
"application/vnd.jam")
, (FileName
"jar", MimeType
"application/java-archive")
, (FileName
"jardiff", MimeType
"application/x-java-archive-diff")
, (FileName
"java", MimeType
"text/x-java-source")
, (FileName
"jisp", MimeType
"application/vnd.jisp")
, (FileName
"jlt", MimeType
"application/vnd.hp-jlyt")
, (FileName
"jng", MimeType
"image/x-jng")
, (FileName
"jnlp", MimeType
"application/x-java-jnlp-file")
, (FileName
"joda", MimeType
"application/vnd.joost.joda-archive")
, (FileName
"jpe", MimeType
"image/jpeg")
, (FileName
"jpeg", MimeType
"image/jpeg")
, (FileName
"jpg", MimeType
"image/jpeg")
, (FileName
"jpgm", MimeType
"video/jpm")
, (FileName
"jpgv", MimeType
"video/jpeg")
, (FileName
"jpm", MimeType
"video/jpm")
, (FileName
"js", MimeType
"application/javascript")
, (FileName
"json", MimeType
"application/json")
, (FileName
"jsonml", MimeType
"application/jsonml+json")
, (FileName
"kar", MimeType
"audio/midi")
, (FileName
"karbon", MimeType
"application/vnd.kde.karbon")
, (FileName
"kfo", MimeType
"application/vnd.kde.kformula")
, (FileName
"kia", MimeType
"application/vnd.kidspiration")
, (FileName
"kml", MimeType
"application/vnd.google-earth.kml+xml")
, (FileName
"kmz", MimeType
"application/vnd.google-earth.kmz")
, (FileName
"kne", MimeType
"application/vnd.kinar")
, (FileName
"knp", MimeType
"application/vnd.kinar")
, (FileName
"kon", MimeType
"application/vnd.kde.kontour")
, (FileName
"kpr", MimeType
"application/vnd.kde.kpresenter")
, (FileName
"kpt", MimeType
"application/vnd.kde.kpresenter")
, (FileName
"kpxx", MimeType
"application/vnd.ds-keypoint")
, (FileName
"ksp", MimeType
"application/vnd.kde.kspread")
, (FileName
"ktr", MimeType
"application/vnd.kahootz")
, (FileName
"ktx", MimeType
"image/ktx")
, (FileName
"ktz", MimeType
"application/vnd.kahootz")
, (FileName
"kwd", MimeType
"application/vnd.kde.kword")
, (FileName
"kwt", MimeType
"application/vnd.kde.kword")
, (FileName
"lasxml", MimeType
"application/vnd.las.las+xml")
, (FileName
"latex", MimeType
"application/x-latex")
, (FileName
"lbd", MimeType
"application/vnd.llamagraphics.life-balance.desktop")
, (FileName
"lbe", MimeType
"application/vnd.llamagraphics.life-balance.exchange+xml")
, (FileName
"les", MimeType
"application/vnd.hhe.lesson-player")
, (FileName
"less", MimeType
"text/css")
, (FileName
"lha", MimeType
"application/x-lzh-compressed")
, (FileName
"link66", MimeType
"application/vnd.route66.link66+xml")
, (FileName
"list", MimeType
"text/plain")
, (FileName
"list3820", MimeType
"application/vnd.ibm.modcap")
, (FileName
"listafp", MimeType
"application/vnd.ibm.modcap")
, (FileName
"lnk", MimeType
"application/x-ms-shortcut")
, (FileName
"log", MimeType
"text/plain")
, (FileName
"lostxml", MimeType
"application/lost+xml")
, (FileName
"lrf", MimeType
"application/octet-stream")
, (FileName
"lrm", MimeType
"application/vnd.ms-lrm")
, (FileName
"ltf", MimeType
"application/vnd.frogans.ltf")
, (FileName
"lvp", MimeType
"audio/vnd.lucent.voice")
, (FileName
"lwp", MimeType
"application/vnd.lotus-wordpro")
, (FileName
"lzh", MimeType
"application/x-lzh-compressed")
, (FileName
"m13", MimeType
"application/x-msmediaview")
, (FileName
"m14", MimeType
"application/x-msmediaview")
, (FileName
"m1v", MimeType
"video/mpeg")
, (FileName
"m21", MimeType
"application/mp21")
, (FileName
"m2a", MimeType
"audio/mpeg")
, (FileName
"m2v", MimeType
"video/mpeg")
, (FileName
"m3a", MimeType
"audio/mpeg")
, (FileName
"m3u", MimeType
"audio/x-mpegurl")
, (FileName
"m3u8", MimeType
"application/vnd.apple.mpegurl")
, (FileName
"m4a", MimeType
"audio/x-m4a")
, (FileName
"m4u", MimeType
"video/vnd.mpegurl")
, (FileName
"m4v", MimeType
"video/x-m4v")
, (FileName
"ma", MimeType
"application/mathematica")
, (FileName
"mads", MimeType
"application/mads+xml")
, (FileName
"mag", MimeType
"application/vnd.ecowin.chart")
, (FileName
"maker", MimeType
"application/vnd.framemaker")
, (FileName
"man", MimeType
"text/troff")
, (FileName
"manifest", MimeType
"text/cache-manifest")
, (FileName
"mar", MimeType
"application/octet-stream")
, (FileName
"mathml", MimeType
"application/mathml+xml")
, (FileName
"mb", MimeType
"application/mathematica")
, (FileName
"mbk", MimeType
"application/vnd.mobius.mbk")
, (FileName
"mbox", MimeType
"application/mbox")
, (FileName
"mc1", MimeType
"application/vnd.medcalcdata")
, (FileName
"mcd", MimeType
"application/vnd.mcd")
, (FileName
"mcurl", MimeType
"text/vnd.curl.mcurl")
, (FileName
"mdb", MimeType
"application/x-msaccess")
, (FileName
"mdi", MimeType
"image/vnd.ms-modi")
, (FileName
"me", MimeType
"text/troff")
, (FileName
"mesh", MimeType
"model/mesh")
, (FileName
"meta4", MimeType
"application/metalink4+xml")
, (FileName
"metalink", MimeType
"application/metalink+xml")
, (FileName
"mets", MimeType
"application/mets+xml")
, (FileName
"mfm", MimeType
"application/vnd.mfmp")
, (FileName
"mft", MimeType
"application/rpki-manifest")
, (FileName
"mgp", MimeType
"application/vnd.osgeo.mapguide.package")
, (FileName
"mgz", MimeType
"application/vnd.proteus.magazine")
, (FileName
"mid", MimeType
"audio/midi")
, (FileName
"midi", MimeType
"audio/midi")
, (FileName
"mie", MimeType
"application/x-mie")
, (FileName
"mif", MimeType
"application/vnd.mif")
, (FileName
"mime", MimeType
"message/rfc822")
, (FileName
"mj2", MimeType
"video/mj2")
, (FileName
"mjp2", MimeType
"video/mj2")
, (FileName
"mjs", MimeType
"application/javascript")
, (FileName
"mk3d", MimeType
"video/x-matroska")
, (FileName
"mka", MimeType
"audio/x-matroska")
, (FileName
"mks", MimeType
"video/x-matroska")
, (FileName
"mkv", MimeType
"video/x-matroska")
, (FileName
"mlp", MimeType
"application/vnd.dolby.mlp")
, (FileName
"mmd", MimeType
"application/vnd.chipnuts.karaoke-mmd")
, (FileName
"mmf", MimeType
"application/vnd.smaf")
, (FileName
"mml", MimeType
"text/mathml")
, (FileName
"mmr", MimeType
"image/vnd.fujixerox.edmics-mmr")
, (FileName
"mng", MimeType
"video/x-mng")
, (FileName
"mny", MimeType
"application/x-msmoney")
, (FileName
"mobi", MimeType
"application/x-mobipocket-ebook")
, (FileName
"mods", MimeType
"application/mods+xml")
, (FileName
"mov", MimeType
"video/quicktime")
, (FileName
"movie", MimeType
"video/x-sgi-movie")
, (FileName
"mp2", MimeType
"audio/mpeg")
, (FileName
"mp21", MimeType
"application/mp21")
, (FileName
"mp2a", MimeType
"audio/mpeg")
, (FileName
"mp3", MimeType
"audio/mpeg")
, (FileName
"mp4", MimeType
"video/mp4")
, (FileName
"mp4a", MimeType
"audio/mp4")
, (FileName
"mp4s", MimeType
"application/mp4")
, (FileName
"mp4v", MimeType
"video/mp4")
, (FileName
"mpc", MimeType
"application/vnd.mophun.certificate")
, (FileName
"mpe", MimeType
"video/mpeg")
, (FileName
"mpeg", MimeType
"video/mpeg")
, (FileName
"mpg", MimeType
"video/mpeg")
, (FileName
"mpg4", MimeType
"video/mp4")
, (FileName
"mpga", MimeType
"audio/mpeg")
, (FileName
"mpkg", MimeType
"application/vnd.apple.installer+xml")
, (FileName
"mpm", MimeType
"application/vnd.blueice.multipass")
, (FileName
"mpn", MimeType
"application/vnd.mophun.application")
, (FileName
"mpp", MimeType
"application/vnd.ms-project")
, (FileName
"mpt", MimeType
"application/vnd.ms-project")
, (FileName
"mpy", MimeType
"application/vnd.ibm.minipay")
, (FileName
"mqy", MimeType
"application/vnd.mobius.mqy")
, (FileName
"mrc", MimeType
"application/marc")
, (FileName
"mrcx", MimeType
"application/marcxml+xml")
, (FileName
"ms", MimeType
"text/troff")
, (FileName
"mscml", MimeType
"application/mediaservercontrol+xml")
, (FileName
"mseed", MimeType
"application/vnd.fdsn.mseed")
, (FileName
"mseq", MimeType
"application/vnd.mseq")
, (FileName
"msf", MimeType
"application/vnd.epson.msf")
, (FileName
"msh", MimeType
"model/mesh")
, (FileName
"msi", MimeType
"application/x-msdownload")
, (FileName
"msl", MimeType
"application/vnd.mobius.msl")
, (FileName
"msm", MimeType
"application/octet-stream")
, (FileName
"msp", MimeType
"application/octet-stream")
, (FileName
"msty", MimeType
"application/vnd.muvee.style")
, (FileName
"mts", MimeType
"model/vnd.mts")
, (FileName
"mus", MimeType
"application/vnd.musician")
, (FileName
"musicxml", MimeType
"application/vnd.recordare.musicxml+xml")
, (FileName
"mvb", MimeType
"application/x-msmediaview")
, (FileName
"mwf", MimeType
"application/vnd.mfer")
, (FileName
"mxf", MimeType
"application/mxf")
, (FileName
"mxl", MimeType
"application/vnd.recordare.musicxml")
, (FileName
"mxml", MimeType
"application/xv+xml")
, (FileName
"mxs", MimeType
"application/vnd.triscape.mxs")
, (FileName
"mxu", MimeType
"video/vnd.mpegurl")
, (FileName
"n-gage", MimeType
"application/vnd.nokia.n-gage.symbian.install")
, (FileName
"n3", MimeType
"text/n3")
, (FileName
"nb", MimeType
"application/mathematica")
, (FileName
"nbp", MimeType
"application/vnd.wolfram.player")
, (FileName
"nc", MimeType
"application/x-netcdf")
, (FileName
"ncx", MimeType
"application/x-dtbncx+xml")
, (FileName
"nfo", MimeType
"text/x-nfo")
, (FileName
"ngdat", MimeType
"application/vnd.nokia.n-gage.data")
, (FileName
"nitf", MimeType
"application/vnd.nitf")
, (FileName
"nlu", MimeType
"application/vnd.neurolanguage.nlu")
, (FileName
"nml", MimeType
"application/vnd.enliven")
, (FileName
"nnd", MimeType
"application/vnd.noblenet-directory")
, (FileName
"nns", MimeType
"application/vnd.noblenet-sealer")
, (FileName
"nnw", MimeType
"application/vnd.noblenet-web")
, (FileName
"npx", MimeType
"image/vnd.net-fpx")
, (FileName
"nsc", MimeType
"application/x-conference")
, (FileName
"nsf", MimeType
"application/vnd.lotus-notes")
, (FileName
"ntf", MimeType
"application/vnd.nitf")
, (FileName
"nzb", MimeType
"application/x-nzb")
, (FileName
"oa2", MimeType
"application/vnd.fujitsu.oasys2")
, (FileName
"oa3", MimeType
"application/vnd.fujitsu.oasys3")
, (FileName
"oas", MimeType
"application/vnd.fujitsu.oasys")
, (FileName
"obd", MimeType
"application/x-msbinder")
, (FileName
"obj", MimeType
"application/x-tgif")
, (FileName
"oda", MimeType
"application/oda")
, (FileName
"odb", MimeType
"application/vnd.oasis.opendocument.database")
, (FileName
"odc", MimeType
"application/vnd.oasis.opendocument.chart")
, (FileName
"odf", MimeType
"application/vnd.oasis.opendocument.formula")
, (FileName
"odft", MimeType
"application/vnd.oasis.opendocument.formula-template")
, (FileName
"odg", MimeType
"application/vnd.oasis.opendocument.graphics")
, (FileName
"odi", MimeType
"application/vnd.oasis.opendocument.image")
, (FileName
"odm", MimeType
"application/vnd.oasis.opendocument.text-master")
, (FileName
"odp", MimeType
"application/vnd.oasis.opendocument.presentation")
, (FileName
"ods", MimeType
"application/vnd.oasis.opendocument.spreadsheet")
, (FileName
"odt", MimeType
"application/vnd.oasis.opendocument.text")
, (FileName
"oga", MimeType
"audio/ogg")
, (FileName
"ogg", MimeType
"audio/ogg")
, (FileName
"ogv", MimeType
"video/ogg")
, (FileName
"ogx", MimeType
"application/ogg")
, (FileName
"omdoc", MimeType
"application/omdoc+xml")
, (FileName
"onepkg", MimeType
"application/onenote")
, (FileName
"onetmp", MimeType
"application/onenote")
, (FileName
"onetoc", MimeType
"application/onenote")
, (FileName
"onetoc2", MimeType
"application/onenote")
, (FileName
"opf", MimeType
"application/oebps-package+xml")
, (FileName
"opml", MimeType
"text/x-opml")
, (FileName
"oprc", MimeType
"application/vnd.palm")
, (FileName
"org", MimeType
"application/vnd.lotus-organizer")
, (FileName
"osf", MimeType
"application/vnd.yamaha.openscoreformat")
, (FileName
"osfpvg", MimeType
"application/vnd.yamaha.openscoreformat.osfpvg+xml")
, (FileName
"otc", MimeType
"application/vnd.oasis.opendocument.chart-template")
, (FileName
"otf", MimeType
"application/x-font-otf")
, (FileName
"otg", MimeType
"application/vnd.oasis.opendocument.graphics-template")
, (FileName
"oth", MimeType
"application/vnd.oasis.opendocument.text-web")
, (FileName
"oti", MimeType
"application/vnd.oasis.opendocument.image-template")
, (FileName
"otp", MimeType
"application/vnd.oasis.opendocument.presentation-template")
, (FileName
"ots", MimeType
"application/vnd.oasis.opendocument.spreadsheet-template")
, (FileName
"ott", MimeType
"application/vnd.oasis.opendocument.text-template")
, (FileName
"oxps", MimeType
"application/oxps")
, (FileName
"oxt", MimeType
"application/vnd.openofficeorg.extension")
, (FileName
"p", MimeType
"text/x-pascal")
, (FileName
"p10", MimeType
"application/pkcs10")
, (FileName
"p12", MimeType
"application/x-pkcs12")
, (FileName
"p7b", MimeType
"application/x-pkcs7-certificates")
, (FileName
"p7c", MimeType
"application/pkcs7-mime")
, (FileName
"p7m", MimeType
"application/pkcs7-mime")
, (FileName
"p7r", MimeType
"application/x-pkcs7-certreqresp")
, (FileName
"p7s", MimeType
"application/pkcs7-signature")
, (FileName
"p8", MimeType
"application/pkcs8")
, (FileName
"pac", MimeType
"application/x-ns-proxy-autoconfig")
, (FileName
"pas", MimeType
"text/x-pascal")
, (FileName
"paw", MimeType
"application/vnd.pawaafile")
, (FileName
"pbd", MimeType
"application/vnd.powerbuilder6")
, (FileName
"pbm", MimeType
"image/x-portable-bitmap")
, (FileName
"pcap", MimeType
"application/vnd.tcpdump.pcap")
, (FileName
"pcf", MimeType
"application/x-font-pcf")
, (FileName
"pcl", MimeType
"application/vnd.hp-pcl")
, (FileName
"pclxl", MimeType
"application/vnd.hp-pclxl")
, (FileName
"pct", MimeType
"image/x-pict")
, (FileName
"pcurl", MimeType
"application/vnd.curl.pcurl")
, (FileName
"pcx", MimeType
"image/x-pcx")
, (FileName
"pdb", MimeType
"application/vnd.palm")
, (FileName
"pdf", MimeType
"application/pdf")
, (FileName
"pem", MimeType
"application/x-x509-ca-cert")
, (FileName
"pfa", MimeType
"application/x-font-type1")
, (FileName
"pfb", MimeType
"application/x-font-type1")
, (FileName
"pfm", MimeType
"application/x-font-type1")
, (FileName
"pfr", MimeType
"application/font-tdpfr")
, (FileName
"pfx", MimeType
"application/x-pkcs12")
, (FileName
"pgm", MimeType
"image/x-portable-graymap")
, (FileName
"pgn", MimeType
"application/x-chess-pgn")
, (FileName
"pgp", MimeType
"application/pgp-encrypted")
, (FileName
"pic", MimeType
"image/x-pict")
, (FileName
"pkg", MimeType
"application/octet-stream")
, (FileName
"pki", MimeType
"application/pkixcmp")
, (FileName
"pkipath", MimeType
"application/pkix-pkipath")
, (FileName
"pl", MimeType
"application/x-perl")
, (FileName
"plb", MimeType
"application/vnd.3gpp.pic-bw-large")
, (FileName
"plc", MimeType
"application/vnd.mobius.plc")
, (FileName
"plf", MimeType
"application/vnd.pocketlearn")
, (FileName
"pls", MimeType
"application/pls+xml")
, (FileName
"pm", MimeType
"application/x-perl")
, (FileName
"pml", MimeType
"application/vnd.ctc-posml")
, (FileName
"png", MimeType
"image/png")
, (FileName
"pnm", MimeType
"image/x-portable-anymap")
, (FileName
"portpkg", MimeType
"application/vnd.macports.portpkg")
, (FileName
"pot", MimeType
"application/vnd.ms-powerpoint")
, (FileName
"potm", MimeType
"application/vnd.ms-powerpoint.template.macroenabled.12")
, (FileName
"potx", MimeType
"application/vnd.openxmlformats-officedocument.presentationml.template")
, (FileName
"ppam", MimeType
"application/vnd.ms-powerpoint.addin.macroenabled.12")
, (FileName
"ppd", MimeType
"application/vnd.cups-ppd")
, (FileName
"ppm", MimeType
"image/x-portable-pixmap")
, (FileName
"pps", MimeType
"application/vnd.ms-powerpoint")
, (FileName
"ppsm", MimeType
"application/vnd.ms-powerpoint.slideshow.macroenabled.12")
, (FileName
"ppsx", MimeType
"application/vnd.openxmlformats-officedocument.presentationml.slideshow")
, (FileName
"ppt", MimeType
"application/vnd.ms-powerpoint")
, (FileName
"pptm", MimeType
"application/vnd.ms-powerpoint.presentation.macroenabled.12")
, (FileName
"pptx", MimeType
"application/vnd.openxmlformats-officedocument.presentationml.presentation")
, (FileName
"pqa", MimeType
"application/vnd.palm")
, (FileName
"prc", MimeType
"application/x-mobipocket-ebook")
, (FileName
"pre", MimeType
"application/vnd.lotus-freelance")
, (FileName
"prf", MimeType
"application/pics-rules")
, (FileName
"ps", MimeType
"application/postscript")
, (FileName
"psb", MimeType
"application/vnd.3gpp.pic-bw-small")
, (FileName
"psd", MimeType
"image/vnd.adobe.photoshop")
, (FileName
"psf", MimeType
"application/x-font-linux-psf")
, (FileName
"pskcxml", MimeType
"application/pskc+xml")
, (FileName
"ptid", MimeType
"application/vnd.pvi.ptid1")
, (FileName
"pub", MimeType
"application/x-mspublisher")
, (FileName
"pvb", MimeType
"application/vnd.3gpp.pic-bw-var")
, (FileName
"pwn", MimeType
"application/vnd.3m.post-it-notes")
, (FileName
"pya", MimeType
"audio/vnd.ms-playready.media.pya")
, (FileName
"pyv", MimeType
"video/vnd.ms-playready.media.pyv")
, (FileName
"qam", MimeType
"application/vnd.epson.quickanime")
, (FileName
"qbo", MimeType
"application/vnd.intu.qbo")
, (FileName
"qfx", MimeType
"application/vnd.intu.qfx")
, (FileName
"qps", MimeType
"application/vnd.publishare-delta-tree")
, (FileName
"qt", MimeType
"video/quicktime")
, (FileName
"qwd", MimeType
"application/vnd.quark.quarkxpress")
, (FileName
"qwt", MimeType
"application/vnd.quark.quarkxpress")
, (FileName
"qxb", MimeType
"application/vnd.quark.quarkxpress")
, (FileName
"qxd", MimeType
"application/vnd.quark.quarkxpress")
, (FileName
"qxl", MimeType
"application/vnd.quark.quarkxpress")
, (FileName
"qxt", MimeType
"application/vnd.quark.quarkxpress")
, (FileName
"ra", MimeType
"audio/x-pn-realaudio")
, (FileName
"ram", MimeType
"audio/x-pn-realaudio")
, (FileName
"rar", MimeType
"application/x-rar-compressed")
, (FileName
"ras", MimeType
"image/x-cmu-raster")
, (FileName
"rcprofile", MimeType
"application/vnd.ipunplugged.rcprofile")
, (FileName
"rdf", MimeType
"application/rdf+xml")
, (FileName
"rdz", MimeType
"application/vnd.data-vision.rdz")
, (FileName
"rep", MimeType
"application/vnd.businessobjects")
, (FileName
"res", MimeType
"application/x-dtbresource+xml")
, (FileName
"rgb", MimeType
"image/x-rgb")
, (FileName
"rif", MimeType
"application/reginfo+xml")
, (FileName
"rip", MimeType
"audio/vnd.rip")
, (FileName
"ris", MimeType
"application/x-research-info-systems")
, (FileName
"rl", MimeType
"application/resource-lists+xml")
, (FileName
"rlc", MimeType
"image/vnd.fujixerox.edmics-rlc")
, (FileName
"rld", MimeType
"application/resource-lists-diff+xml")
, (FileName
"rm", MimeType
"application/vnd.rn-realmedia")
, (FileName
"rmi", MimeType
"audio/midi")
, (FileName
"rmp", MimeType
"audio/x-pn-realaudio-plugin")
, (FileName
"rms", MimeType
"application/vnd.jcp.javame.midlet-rms")
, (FileName
"rmvb", MimeType
"application/vnd.rn-realmedia-vbr")
, (FileName
"rnc", MimeType
"application/relax-ng-compact-syntax")
, (FileName
"roa", MimeType
"application/rpki-roa")
, (FileName
"roff", MimeType
"text/troff")
, (FileName
"rp9", MimeType
"application/vnd.cloanto.rp9")
, (FileName
"rpm", MimeType
"application/x-redhat-package-manager")
, (FileName
"rpss", MimeType
"application/vnd.nokia.radio-presets")
, (FileName
"rpst", MimeType
"application/vnd.nokia.radio-preset")
, (FileName
"rq", MimeType
"application/sparql-query")
, (FileName
"rs", MimeType
"application/rls-services+xml")
, (FileName
"rsd", MimeType
"application/rsd+xml")
, (FileName
"rss", MimeType
"application/rss+xml")
, (FileName
"rtf", MimeType
"application/rtf")
, (FileName
"rtx", MimeType
"text/richtext")
, (FileName
"run", MimeType
"application/x-makeself")
, (FileName
"s", MimeType
"text/x-asm")
, (FileName
"s3m", MimeType
"audio/s3m")
, (FileName
"saf", MimeType
"application/vnd.yamaha.smaf-audio")
, (FileName
"sbml", MimeType
"application/sbml+xml")
, (FileName
"sc", MimeType
"application/vnd.ibm.secure-container")
, (FileName
"scd", MimeType
"application/x-msschedule")
, (FileName
"scm", MimeType
"application/vnd.lotus-screencam")
, (FileName
"scq", MimeType
"application/scvp-cv-request")
, (FileName
"scs", MimeType
"application/scvp-cv-response")
, (FileName
"scurl", MimeType
"text/vnd.curl.scurl")
, (FileName
"sda", MimeType
"application/vnd.stardivision.draw")
, (FileName
"sdc", MimeType
"application/vnd.stardivision.calc")
, (FileName
"sdd", MimeType
"application/vnd.stardivision.impress")
, (FileName
"sdkd", MimeType
"application/vnd.solent.sdkm+xml")
, (FileName
"sdkm", MimeType
"application/vnd.solent.sdkm+xml")
, (FileName
"sdp", MimeType
"application/sdp")
, (FileName
"sdw", MimeType
"application/vnd.stardivision.writer")
, (FileName
"sea", MimeType
"application/x-sea")
, (FileName
"see", MimeType
"application/vnd.seemail")
, (FileName
"seed", MimeType
"application/vnd.fdsn.seed")
, (FileName
"sema", MimeType
"application/vnd.sema")
, (FileName
"semd", MimeType
"application/vnd.semd")
, (FileName
"semf", MimeType
"application/vnd.semf")
, (FileName
"ser", MimeType
"application/java-serialized-object")
, (FileName
"setpay", MimeType
"application/set-payment-initiation")
, (FileName
"setreg", MimeType
"application/set-registration-initiation")
, (FileName
"sfd-hdstx", MimeType
"application/vnd.hydrostatix.sof-data")
, (FileName
"sfs", MimeType
"application/vnd.spotfire.sfs")
, (FileName
"sfv", MimeType
"text/x-sfv")
, (FileName
"sgi", MimeType
"image/sgi")
, (FileName
"sgl", MimeType
"application/vnd.stardivision.writer-global")
, (FileName
"sgm", MimeType
"text/sgml")
, (FileName
"sgml", MimeType
"text/sgml")
, (FileName
"sh", MimeType
"application/x-sh")
, (FileName
"shar", MimeType
"application/x-shar")
, (FileName
"shf", MimeType
"application/shf+xml")
, (FileName
"shtml", MimeType
"text/html")
, (FileName
"sid", MimeType
"image/x-mrsid-image")
, (FileName
"sig", MimeType
"application/pgp-signature")
, (FileName
"sil", MimeType
"audio/silk")
, (FileName
"silo", MimeType
"model/mesh")
, (FileName
"sis", MimeType
"application/vnd.symbian.install")
, (FileName
"sisx", MimeType
"application/vnd.symbian.install")
, (FileName
"sit", MimeType
"application/x-stuffit")
, (FileName
"sitx", MimeType
"application/x-stuffitx")
, (FileName
"skd", MimeType
"application/vnd.koan")
, (FileName
"skm", MimeType
"application/vnd.koan")
, (FileName
"skp", MimeType
"application/vnd.koan")
, (FileName
"skt", MimeType
"application/vnd.koan")
, (FileName
"sldm", MimeType
"application/vnd.ms-powerpoint.slide.macroenabled.12")
, (FileName
"sldx", MimeType
"application/vnd.openxmlformats-officedocument.presentationml.slide")
, (FileName
"slt", MimeType
"application/vnd.epson.salt")
, (FileName
"sm", MimeType
"application/vnd.stepmania.stepchart")
, (FileName
"smf", MimeType
"application/vnd.stardivision.math")
, (FileName
"smi", MimeType
"application/smil+xml")
, (FileName
"smil", MimeType
"application/smil+xml")
, (FileName
"smv", MimeType
"video/x-smv")
, (FileName
"smzip", MimeType
"application/vnd.stepmania.package")
, (FileName
"snd", MimeType
"audio/basic")
, (FileName
"snf", MimeType
"application/x-font-snf")
, (FileName
"so", MimeType
"application/octet-stream")
, (FileName
"spc", MimeType
"application/x-pkcs7-certificates")
, (FileName
"spf", MimeType
"application/vnd.yamaha.smaf-phrase")
, (FileName
"spl", MimeType
"application/futuresplash")
, (FileName
"spot", MimeType
"text/vnd.in3d.spot")
, (FileName
"spp", MimeType
"application/scvp-vp-response")
, (FileName
"spq", MimeType
"application/scvp-vp-request")
, (FileName
"spx", MimeType
"audio/ogg")
, (FileName
"sql", MimeType
"application/x-sql")
, (FileName
"src", MimeType
"application/x-wais-source")
, (FileName
"srt", MimeType
"application/x-subrip")
, (FileName
"sru", MimeType
"application/sru+xml")
, (FileName
"srx", MimeType
"application/sparql-results+xml")
, (FileName
"ssdl", MimeType
"application/ssdl+xml")
, (FileName
"sse", MimeType
"application/vnd.kodak-descriptor")
, (FileName
"ssf", MimeType
"application/vnd.epson.ssf")
, (FileName
"ssml", MimeType
"application/ssml+xml")
, (FileName
"st", MimeType
"application/vnd.sailingtracker.track")
, (FileName
"stc", MimeType
"application/vnd.sun.xml.calc.template")
, (FileName
"std", MimeType
"application/vnd.sun.xml.draw.template")
, (FileName
"stf", MimeType
"application/vnd.wt.stf")
, (FileName
"sti", MimeType
"application/vnd.sun.xml.impress.template")
, (FileName
"stk", MimeType
"application/hyperstudio")
, (FileName
"stl", MimeType
"application/vnd.ms-pki.stl")
, (FileName
"str", MimeType
"application/vnd.pg.format")
, (FileName
"stw", MimeType
"application/vnd.sun.xml.writer.template")
, (FileName
"sub", MimeType
"text/vnd.dvb.subtitle")
, (FileName
"sus", MimeType
"application/vnd.sus-calendar")
, (FileName
"susp", MimeType
"application/vnd.sus-calendar")
, (FileName
"sv4cpio", MimeType
"application/x-sv4cpio")
, (FileName
"sv4crc", MimeType
"application/x-sv4crc")
, (FileName
"svc", MimeType
"application/vnd.dvb.service")
, (FileName
"svd", MimeType
"application/vnd.svd")
, (FileName
"svg", MimeType
"image/svg+xml")
, (FileName
"svgz", MimeType
"image/svg+xml")
, (FileName
"swa", MimeType
"application/x-director")
, (FileName
"swf", MimeType
"application/x-shockwave-flash")
, (FileName
"swi", MimeType
"application/vnd.aristanetworks.swi")
, (FileName
"sxc", MimeType
"application/vnd.sun.xml.calc")
, (FileName
"sxd", MimeType
"application/vnd.sun.xml.draw")
, (FileName
"sxg", MimeType
"application/vnd.sun.xml.writer.global")
, (FileName
"sxi", MimeType
"application/vnd.sun.xml.impress")
, (FileName
"sxm", MimeType
"application/vnd.sun.xml.math")
, (FileName
"sxw", MimeType
"application/vnd.sun.xml.writer")
, (FileName
"t", MimeType
"text/troff")
, (FileName
"t3", MimeType
"application/x-t3vm-image")
, (FileName
"taglet", MimeType
"application/vnd.mynfc")
, (FileName
"tao", MimeType
"application/vnd.tao.intent-module-archive")
, (FileName
"tar", MimeType
"application/x-tar")
, (FileName
"tar.bz2", MimeType
"application/x-bzip-compressed-tar")
, (FileName
"tar.gz", MimeType
"application/x-tgz")
, (FileName
"tbz", MimeType
"application/x-bzip-compressed-tar")
, (FileName
"tcap", MimeType
"application/vnd.3gpp2.tcap")
, (FileName
"tcl", MimeType
"application/x-tcl")
, (FileName
"teacher", MimeType
"application/vnd.smart.teacher")
, (FileName
"tei", MimeType
"application/tei+xml")
, (FileName
"teicorpus", MimeType
"application/tei+xml")
, (FileName
"tex", MimeType
"application/x-tex")
, (FileName
"texi", MimeType
"application/x-texinfo")
, (FileName
"texinfo", MimeType
"application/x-texinfo")
, (FileName
"text", MimeType
"text/plain")
, (FileName
"tfi", MimeType
"application/thraud+xml")
, (FileName
"tfm", MimeType
"application/x-tex-tfm")
, (FileName
"tga", MimeType
"image/x-tga")
, (FileName
"tgz", MimeType
"application/x-tgz")
, (FileName
"thmx", MimeType
"application/vnd.ms-officetheme")
, (FileName
"tif", MimeType
"image/tiff")
, (FileName
"tiff", MimeType
"image/tiff")
, (FileName
"tk", MimeType
"application/x-tcl")
, (FileName
"tmo", MimeType
"application/vnd.tmobile-livetv")
, (FileName
"torrent", MimeType
"application/x-bittorrent")
, (FileName
"tpl", MimeType
"application/vnd.groove-tool-template")
, (FileName
"tpt", MimeType
"application/vnd.trid.tpt")
, (FileName
"tr", MimeType
"text/troff")
, (FileName
"tra", MimeType
"application/vnd.trueapp")
, (FileName
"trm", MimeType
"application/x-msterminal")
, (FileName
"tsd", MimeType
"application/timestamped-data")
, (FileName
"tsv", MimeType
"text/tab-separated-values")
, (FileName
"ttc", MimeType
"application/x-font-ttf")
, (FileName
"ttf", MimeType
"application/x-font-ttf")
, (FileName
"ttl", MimeType
"text/turtle")
, (FileName
"twd", MimeType
"application/vnd.simtech-mindmapper")
, (FileName
"twds", MimeType
"application/vnd.simtech-mindmapper")
, (FileName
"txd", MimeType
"application/vnd.genomatix.tuxedo")
, (FileName
"txf", MimeType
"application/vnd.mobius.txf")
, (FileName
"txt", MimeType
"text/plain")
, (FileName
"u32", MimeType
"application/x-authorware-bin")
, (FileName
"udeb", MimeType
"application/x-debian-package")
, (FileName
"ufd", MimeType
"application/vnd.ufdl")
, (FileName
"ufdl", MimeType
"application/vnd.ufdl")
, (FileName
"ulx", MimeType
"application/x-glulx")
, (FileName
"umj", MimeType
"application/vnd.umajin")
, (FileName
"unityweb", MimeType
"application/vnd.unity")
, (FileName
"uoml", MimeType
"application/vnd.uoml+xml")
, (FileName
"uri", MimeType
"text/uri-list")
, (FileName
"uris", MimeType
"text/uri-list")
, (FileName
"urls", MimeType
"text/uri-list")
, (FileName
"ustar", MimeType
"application/x-ustar")
, (FileName
"utz", MimeType
"application/vnd.uiq.theme")
, (FileName
"uu", MimeType
"text/x-uuencode")
, (FileName
"uva", MimeType
"audio/vnd.dece.audio")
, (FileName
"uvd", MimeType
"application/vnd.dece.data")
, (FileName
"uvf", MimeType
"application/vnd.dece.data")
, (FileName
"uvg", MimeType
"image/vnd.dece.graphic")
, (FileName
"uvh", MimeType
"video/vnd.dece.hd")
, (FileName
"uvi", MimeType
"image/vnd.dece.graphic")
, (FileName
"uvm", MimeType
"video/vnd.dece.mobile")
, (FileName
"uvp", MimeType
"video/vnd.dece.pd")
, (FileName
"uvs", MimeType
"video/vnd.dece.sd")
, (FileName
"uvt", MimeType
"application/vnd.dece.ttml+xml")
, (FileName
"uvu", MimeType
"video/vnd.uvvu.mp4")
, (FileName
"uvv", MimeType
"video/vnd.dece.video")
, (FileName
"uvva", MimeType
"audio/vnd.dece.audio")
, (FileName
"uvvd", MimeType
"application/vnd.dece.data")
, (FileName
"uvvf", MimeType
"application/vnd.dece.data")
, (FileName
"uvvg", MimeType
"image/vnd.dece.graphic")
, (FileName
"uvvh", MimeType
"video/vnd.dece.hd")
, (FileName
"uvvi", MimeType
"image/vnd.dece.graphic")
, (FileName
"uvvm", MimeType
"video/vnd.dece.mobile")
, (FileName
"uvvp", MimeType
"video/vnd.dece.pd")
, (FileName
"uvvs", MimeType
"video/vnd.dece.sd")
, (FileName
"uvvt", MimeType
"application/vnd.dece.ttml+xml")
, (FileName
"uvvu", MimeType
"video/vnd.uvvu.mp4")
, (FileName
"uvvv", MimeType
"video/vnd.dece.video")
, (FileName
"uvvx", MimeType
"application/vnd.dece.unspecified")
, (FileName
"uvvz", MimeType
"application/vnd.dece.zip")
, (FileName
"uvx", MimeType
"application/vnd.dece.unspecified")
, (FileName
"uvz", MimeType
"application/vnd.dece.zip")
, (FileName
"vcard", MimeType
"text/vcard")
, (FileName
"vcd", MimeType
"application/x-cdlink")
, (FileName
"vcf", MimeType
"text/x-vcard")
, (FileName
"vcg", MimeType
"application/vnd.groove-vcard")
, (FileName
"vcs", MimeType
"text/x-vcalendar")
, (FileName
"vcx", MimeType
"application/vnd.vcx")
, (FileName
"vis", MimeType
"application/vnd.visionary")
, (FileName
"viv", MimeType
"video/vnd.vivo")
, (FileName
"vob", MimeType
"video/x-ms-vob")
, (FileName
"vor", MimeType
"application/vnd.stardivision.writer")
, (FileName
"vox", MimeType
"application/x-authorware-bin")
, (FileName
"vrml", MimeType
"model/vrml")
, (FileName
"vsd", MimeType
"application/vnd.visio")
, (FileName
"vsf", MimeType
"application/vnd.vsf")
, (FileName
"vss", MimeType
"application/vnd.visio")
, (FileName
"vst", MimeType
"application/vnd.visio")
, (FileName
"vsw", MimeType
"application/vnd.visio")
, (FileName
"vtu", MimeType
"model/vnd.vtu")
, (FileName
"vxml", MimeType
"application/voicexml+xml")
, (FileName
"w3d", MimeType
"application/x-director")
, (FileName
"wad", MimeType
"application/x-doom")
, (FileName
"war", MimeType
"application/java-archive")
, (FileName
"wasm", MimeType
"application/wasm")
, (FileName
"wav", MimeType
"audio/x-wav")
, (FileName
"wax", MimeType
"audio/x-ms-wax")
, (FileName
"wbmp", MimeType
"image/vnd.wap.wbmp")
, (FileName
"wbs", MimeType
"application/vnd.criticaltools.wbs+xml")
, (FileName
"wbxml", MimeType
"application/vnd.wap.wbxml")
, (FileName
"wcm", MimeType
"application/vnd.ms-works")
, (FileName
"wdb", MimeType
"application/vnd.ms-works")
, (FileName
"wdp", MimeType
"image/vnd.ms-photo")
, (FileName
"weba", MimeType
"audio/webm")
, (FileName
"webm", MimeType
"video/webm")
, (FileName
"webp", MimeType
"image/webp")
, (FileName
"wg", MimeType
"application/vnd.pmi.widget")
, (FileName
"wgt", MimeType
"application/widget")
, (FileName
"wks", MimeType
"application/vnd.ms-works")
, (FileName
"wm", MimeType
"video/x-ms-wm")
, (FileName
"wma", MimeType
"audio/x-ms-wma")
, (FileName
"wmd", MimeType
"application/x-ms-wmd")
, (FileName
"wmf", MimeType
"application/x-msmetafile")
, (FileName
"wml", MimeType
"text/vnd.wap.wml")
, (FileName
"wmlc", MimeType
"application/vnd.wap.wmlc")
, (FileName
"wmls", MimeType
"text/vnd.wap.wmlscript")
, (FileName
"wmlsc", MimeType
"application/vnd.wap.wmlscriptc")
, (FileName
"wmv", MimeType
"video/x-ms-wmv")
, (FileName
"wmx", MimeType
"video/x-ms-wmx")
, (FileName
"wmz", MimeType
"application/x-msmetafile")
, (FileName
"woff", MimeType
"application/font-woff")
, (FileName
"woff2", MimeType
"application/font-woff2")
, (FileName
"wpd", MimeType
"application/vnd.wordperfect")
, (FileName
"wpl", MimeType
"application/vnd.ms-wpl")
, (FileName
"wps", MimeType
"application/vnd.ms-works")
, (FileName
"wqd", MimeType
"application/vnd.wqd")
, (FileName
"wri", MimeType
"application/x-mswrite")
, (FileName
"wrl", MimeType
"model/vrml")
, (FileName
"wsdl", MimeType
"application/wsdl+xml")
, (FileName
"wspolicy", MimeType
"application/wspolicy+xml")
, (FileName
"wtb", MimeType
"application/vnd.webturbo")
, (FileName
"wvx", MimeType
"video/x-ms-wvx")
, (FileName
"x32", MimeType
"application/x-authorware-bin")
, (FileName
"x3d", MimeType
"model/x3d+xml")
, (FileName
"x3db", MimeType
"model/x3d+binary")
, (FileName
"x3dbz", MimeType
"model/x3d+binary")
, (FileName
"x3dv", MimeType
"model/x3d+vrml")
, (FileName
"x3dvz", MimeType
"model/x3d+vrml")
, (FileName
"x3dz", MimeType
"model/x3d+xml")
, (FileName
"xaml", MimeType
"application/xaml+xml")
, (FileName
"xap", MimeType
"application/x-silverlight-app")
, (FileName
"xar", MimeType
"application/vnd.xara")
, (FileName
"xbap", MimeType
"application/x-ms-xbap")
, (FileName
"xbd", MimeType
"application/vnd.fujixerox.docuworks.binder")
, (FileName
"xbm", MimeType
"image/x-xbitmap")
, (FileName
"xdf", MimeType
"application/xcap-diff+xml")
, (FileName
"xdm", MimeType
"application/vnd.syncml.dm+xml")
, (FileName
"xdp", MimeType
"application/vnd.adobe.xdp+xml")
, (FileName
"xdssc", MimeType
"application/dssc+xml")
, (FileName
"xdw", MimeType
"application/vnd.fujixerox.docuworks")
, (FileName
"xenc", MimeType
"application/xenc+xml")
, (FileName
"xer", MimeType
"application/patch-ops-error+xml")
, (FileName
"xfdf", MimeType
"application/vnd.adobe.xfdf")
, (FileName
"xfdl", MimeType
"application/vnd.xfdl")
, (FileName
"xht", MimeType
"application/xhtml+xml")
, (FileName
"xhtml", MimeType
"application/xhtml+xml")
, (FileName
"xhvml", MimeType
"application/xv+xml")
, (FileName
"xif", MimeType
"image/vnd.xiff")
, (FileName
"xla", MimeType
"application/vnd.ms-excel")
, (FileName
"xlam", MimeType
"application/vnd.ms-excel.addin.macroenabled.12")
, (FileName
"xlc", MimeType
"application/vnd.ms-excel")
, (FileName
"xlf", MimeType
"application/x-xliff+xml")
, (FileName
"xlm", MimeType
"application/vnd.ms-excel")
, (FileName
"xls", MimeType
"application/vnd.ms-excel")
, (FileName
"xlsb", MimeType
"application/vnd.ms-excel.sheet.binary.macroenabled.12")
, (FileName
"xlsm", MimeType
"application/vnd.ms-excel.sheet.macroenabled.12")
, (FileName
"xlsx", MimeType
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
, (FileName
"xlt", MimeType
"application/vnd.ms-excel")
, (FileName
"xltm", MimeType
"application/vnd.ms-excel.template.macroenabled.12")
, (FileName
"xltx", MimeType
"application/vnd.openxmlformats-officedocument.spreadsheetml.template")
, (FileName
"xlw", MimeType
"application/vnd.ms-excel")
, (FileName
"xm", MimeType
"audio/xm")
, (FileName
"xml", MimeType
"text/xml")
, (FileName
"xo", MimeType
"application/vnd.olpc-sugar")
, (FileName
"xop", MimeType
"application/xop+xml")
, (FileName
"xpi", MimeType
"application/x-xpinstall")
, (FileName
"xpl", MimeType
"application/xproc+xml")
, (FileName
"xpm", MimeType
"image/x-xpixmap")
, (FileName
"xpr", MimeType
"application/vnd.is-xpr")
, (FileName
"xps", MimeType
"application/vnd.ms-xpsdocument")
, (FileName
"xpw", MimeType
"application/vnd.intercon.formnet")
, (FileName
"xpx", MimeType
"application/vnd.intercon.formnet")
, (FileName
"xsl", MimeType
"application/xml")
, (FileName
"xslt", MimeType
"application/xslt+xml")
, (FileName
"xsm", MimeType
"application/vnd.syncml+xml")
, (FileName
"xspf", MimeType
"application/xspf+xml")
, (FileName
"xul", MimeType
"application/vnd.mozilla.xul+xml")
, (FileName
"xvm", MimeType
"application/xv+xml")
, (FileName
"xvml", MimeType
"application/xv+xml")
, (FileName
"xwd", MimeType
"image/x-xwindowdump")
, (FileName
"xyz", MimeType
"chemical/x-xyz")
, (FileName
"xz", MimeType
"application/x-xz")
, (FileName
"yang", MimeType
"application/yang")
, (FileName
"yin", MimeType
"application/yin+xml")
, (FileName
"z1", MimeType
"application/x-zmachine")
, (FileName
"z2", MimeType
"application/x-zmachine")
, (FileName
"z3", MimeType
"application/x-zmachine")
, (FileName
"z4", MimeType
"application/x-zmachine")
, (FileName
"z5", MimeType
"application/x-zmachine")
, (FileName
"z6", MimeType
"application/x-zmachine")
, (FileName
"z7", MimeType
"application/x-zmachine")
, (FileName
"z8", MimeType
"application/x-zmachine")
, (FileName
"zaz", MimeType
"application/vnd.zzazz.deck+xml")
, (FileName
"zip", MimeType
"application/zip")
, (FileName
"zir", MimeType
"application/vnd.zul")
, (FileName
"zirz", MimeType
"application/vnd.zul")
, (FileName
"zmm", MimeType
"application/vnd.handheld-entertainment+xml")
]