<?php
class Mime {
- const Types = [
-#>SHELL_REPLACE dbq db=$NB_DB t=mime_type -cut 2,3 | perl -pe "s/'/\\\\'/; s/^(.*?)\t(.*?)$/ '\$1' => '\$2',/"
- 'application/applixware' => 'aw',
- 'application/atom+xml' => 'atom xml',
- 'application/atomcat+xml' => 'atomcat',
- 'application/atomsvc+xml' => 'atomsvc',
- 'application/ccxml+xml,' => 'ccxml',
- 'application/cdmi-capability' => 'cdmia',
- 'application/cdmi-container' => 'cdmic',
- 'application/cdmi-domain' => 'cdmid',
- 'application/cdmi-object' => 'cdmio',
- 'application/cdmi-queue' => 'cdmiq',
- 'application/cu-seeme' => 'cu',
- 'application/davmount+xml' => 'davmount',
- 'application/dssc+der' => 'dssc',
- 'application/dssc+xml' => 'xdssc',
- 'application/ecmascript' => 'es',
- 'application/emma+xml' => 'emma',
- 'application/epub+zip' => 'epub',
- 'application/exi' => 'exi',
- 'application/font-tdpfr' => 'pfr',
- 'application/hyperstudio' => 'stk',
- 'application/ipfix' => 'ipfix',
- 'application/java-archive' => 'jar',
- 'application/java-serialized-object' => 'ser',
- 'application/java-vm' => 'class',
- 'application/javascript' => 'js',
- 'application/json' => 'json',
- 'application/mac-binhex40' => 'hqx',
- 'application/mac-compactpro' => 'cpt',
- 'application/mads+xml' => 'mads',
- 'application/marc' => 'mrc',
- 'application/marcxml+xml' => 'mrcx',
- 'application/mathematica' => 'ma',
- 'application/mathml+xml' => 'mathml',
- 'application/mbox' => 'mbox',
- 'application/mediaservercontrol+xml' => 'mscml',
- 'application/metalink4+xml' => 'meta4',
- 'application/mets+xml' => 'mets',
- 'application/mods+xml' => 'mods',
- 'application/mp21' => 'm21',
- 'application/mp4' => 'mp4',
- 'application/msword' => 'doc',
- 'application/mxf' => 'mxf',
- 'application/octet-stream' => 'bin',
- 'application/oda' => 'oda',
- 'application/oebps-package+xml' => 'opf',
- 'application/ogg' => 'ogx',
- 'application/onenote' => 'onetoc',
- 'application/patch-ops-error+xml' => 'xer',
- 'application/pdf' => 'pdf',
- 'application/pgp-signature' => 'pgp',
- 'application/pics-rules' => 'prf',
- 'application/pkcs10' => 'p10',
- 'application/pkcs7-mime' => 'p7m',
- 'application/pkcs7-signature' => 'p7s',
- 'application/pkcs8' => 'p8',
- 'application/pkix-attr-cert' => 'ac',
- 'application/pkix-cert' => 'cer',
- 'application/pkix-crl' => 'crl',
- 'application/pkix-pkipath' => 'pkipath',
- 'application/pkixcmp' => 'pki',
- 'application/pls+xml' => 'pls',
- 'application/postscript' => 'ai',
- 'application/prs.cww' => 'cww',
- 'application/pskc+xml' => 'pskcxml',
- 'application/rdf+xml' => 'rdf',
- 'application/reginfo+xml' => 'rif',
- 'application/relax-ng-compact-syntax' => 'rnc',
- 'application/resource-lists+xml' => 'rl',
- 'application/resource-lists-diff+xml' => 'rld',
- 'application/rls-services+xml' => 'rs',
- 'application/rsd+xml' => 'rsd',
- 'application/rss+xml' => 'rss',
- 'application/rtf' => 'rtf',
- 'application/sbml+xml' => 'sbml',
- 'application/scvp-cv-request' => 'scq',
- 'application/scvp-cv-response' => 'scs',
- 'application/scvp-vp-request' => 'spq',
- 'application/scvp-vp-response' => 'spp',
- 'application/sdp' => 'sdp',
- 'application/set-payment-initiation' => 'setpay',
- 'application/set-registration-initiation' => 'setreg',
- 'application/shf+xml' => 'shf',
- 'application/smil+xml' => 'smi',
- 'application/sparql-query' => 'rq',
- 'application/sparql-results+xml' => 'srx',
- 'application/srgs' => 'gram',
- 'application/srgs+xml' => 'grxml',
- 'application/sru+xml' => 'sru',
- 'application/ssml+xml' => 'ssml',
- 'application/tei+xml' => 'tei',
- 'application/thraud+xml' => 'tfi',
- 'application/timestamped-data' => 'tsd',
- 'application/vnd.3gpp.pic-bw-large' => 'plb',
- 'application/vnd.3gpp.pic-bw-small' => 'psb',
- 'application/vnd.3gpp.pic-bw-var' => 'pvb',
- 'application/vnd.3gpp2.tcap' => 'tcap',
- 'application/vnd.3m.post-it-notes' => 'pwn',
- 'application/vnd.accpac.simply.aso' => 'aso',
- 'application/vnd.accpac.simply.imp' => 'imp',
- 'application/vnd.acucobol' => 'acu',
- 'application/vnd.acucorp' => 'atc',
- 'application/vnd.adobe.air-application-installer-package+zip' => 'air',
- 'application/vnd.adobe.fxp' => 'fxp',
- 'application/vnd.adobe.xdp+xml' => 'xdp',
- 'application/vnd.adobe.xfdf' => 'xfdf',
- 'application/vnd.ahead.space' => 'ahead',
- 'application/vnd.airzip.filesecure.azf' => 'azf',
- 'application/vnd.airzip.filesecure.azs' => 'azs',
- 'application/vnd.amazon.ebook' => 'azw',
- 'application/vnd.americandynamics.acc' => 'acc',
- 'application/vnd.amiga.ami' => 'ami',
- 'application/vnd.android.package-archive' => 'apk',
- 'application/vnd.anser-web-certificate-issue-initiation' => 'cii',
- 'application/vnd.anser-web-funds-transfer-initiation' => 'fti',
- 'application/vnd.antix.game-component' => 'atx',
- 'application/vnd.apple.installer+xml' => 'mpkg',
- 'application/vnd.apple.mpegurl' => 'm3u8',
- 'application/vnd.aristanetworks.swi' => 'swi',
- 'application/vnd.audiograph' => 'aep',
- 'application/vnd.blueice.multipass' => 'mpm',
- 'application/vnd.bmi' => 'bmi',
- 'application/vnd.businessobjects' => 'rep',
- 'application/vnd.chemdraw+xml' => 'cdxml',
- 'application/vnd.chipnuts.karaoke-mmd' => 'mmd',
- 'application/vnd.cinderella' => 'cdy',
- 'application/vnd.claymore' => 'cla',
- 'application/vnd.cloanto.rp9' => 'rp9',
- 'application/vnd.clonk.c4group' => 'c4g',
- 'application/vnd.cluetrust.cartomobile-config' => 'c11amc',
- 'application/vnd.cluetrust.cartomobile-config-pkg' => 'c11amz',
- 'application/vnd.commonspace' => 'csp',
- 'application/vnd.contact.cmsg' => 'cdbcmsg',
- 'application/vnd.cosmocaller' => 'cmc',
- 'application/vnd.crick.clicker' => 'clkx',
- 'application/vnd.crick.clicker.keyboard' => 'clkk',
- 'application/vnd.crick.clicker.palette' => 'clkp',
- 'application/vnd.crick.clicker.template' => 'clkt',
- 'application/vnd.crick.clicker.wordbank' => 'clkw',
- 'application/vnd.criticaltools.wbs+xml' => 'wbs',
- 'application/vnd.ctc-posml' => 'pml',
- 'application/vnd.cups-ppd' => 'ppd',
- 'application/vnd.curl.car' => 'car',
- 'application/vnd.curl.pcurl' => 'pcurl',
- 'application/vnd.data-vision.rdz' => 'rdz',
- 'application/vnd.denovo.fcselayout-link' => 'fe_launch',
- 'application/vnd.dna' => 'dna',
- 'application/vnd.dolby.mlp' => 'mlp',
- 'application/vnd.dpgraph' => 'dpg',
- 'application/vnd.dreamfactory' => 'dfac',
- 'application/vnd.dvb.ait' => 'ait',
- 'application/vnd.dvb.service' => 'svc',
- 'application/vnd.dynageo' => 'geo',
- 'application/vnd.ecowin.chart' => 'mag',
- 'application/vnd.enliven' => 'nml',
- 'application/vnd.epson.esf' => 'esf',
- 'application/vnd.epson.msf' => 'msf',
- 'application/vnd.epson.quickanime' => 'qam',
- 'application/vnd.epson.salt' => 'slt',
- 'application/vnd.epson.ssf' => 'ssf',
- 'application/vnd.eszigno3+xml' => 'es3',
- 'application/vnd.ezpix-album' => 'ez2',
- 'application/vnd.ezpix-package' => 'ez3',
- 'application/vnd.fdf' => 'fdf',
- 'application/vnd.fdsn.seed' => 'seed',
- 'application/vnd.flographit' => 'gph',
- 'application/vnd.fluxtime.clip' => 'ftc',
- 'application/vnd.framemaker' => 'fm',
- 'application/vnd.frogans.fnc' => 'fnc',
- 'application/vnd.frogans.ltf' => 'ltf',
- 'application/vnd.fsc.weblaunch' => 'fsc',
- 'application/vnd.fujitsu.oasys' => 'oas',
- 'application/vnd.fujitsu.oasys2' => 'oa2',
- 'application/vnd.fujitsu.oasys3' => 'oa3',
- 'application/vnd.fujitsu.oasysgp' => 'fg5',
- 'application/vnd.fujitsu.oasysprs' => 'bh2',
- 'application/vnd.fujixerox.ddd' => 'ddd',
- 'application/vnd.fujixerox.docuworks' => 'xdw',
- 'application/vnd.fujixerox.docuworks.binder' => 'xbd',
- 'application/vnd.fuzzysheet' => 'fzs',
- 'application/vnd.genomatix.tuxedo' => 'txd',
- 'application/vnd.geogebra.file' => 'ggb',
- 'application/vnd.geogebra.tool' => 'ggt',
- 'application/vnd.geometry-explorer' => 'gex',
- 'application/vnd.geonext' => 'gxt',
- 'application/vnd.geoplan' => 'g2w',
- 'application/vnd.geospace' => 'g3w',
- 'application/vnd.gmx' => 'gmx',
- 'application/vnd.google-earth.kml+xml' => 'kml',
- 'application/vnd.google-earth.kmz' => 'kmz',
- 'application/vnd.grafeq' => 'gqf',
- 'application/vnd.groove-account' => 'gac',
- 'application/vnd.groove-help' => 'ghf',
- 'application/vnd.groove-identity-message' => 'gim',
- 'application/vnd.groove-injector' => 'grv',
- 'application/vnd.groove-tool-message' => 'gtm',
- 'application/vnd.groove-tool-template' => 'tpl',
- 'application/vnd.groove-vcard' => 'vcg',
- 'application/vnd.hal+xml' => 'hal',
- 'application/vnd.handheld-entertainment+xml' => 'zmm',
- 'application/vnd.hbci' => 'hbci',
- 'application/vnd.hhe.lesson-player' => 'les',
- 'application/vnd.hp-hpgl' => 'hpgl',
- 'application/vnd.hp-hpid' => 'hpid',
- 'application/vnd.hp-hps' => 'hps',
- 'application/vnd.hp-jlyt' => 'jlt',
- 'application/vnd.hp-pcl' => 'pcl',
- 'application/vnd.hp-pclxl' => 'pclxl',
- 'application/vnd.hydrostatix.sof-data' => 'sfd-hdstx',
- 'application/vnd.hzn-3d-crossword' => 'x3d',
- 'application/vnd.ibm.minipay' => 'mpy',
- 'application/vnd.ibm.modcap' => 'afp',
- 'application/vnd.ibm.rights-management' => 'irm',
- 'application/vnd.ibm.secure-container' => 'sc',
- 'application/vnd.iccprofile' => 'icc',
- 'application/vnd.igloader' => 'igl',
- 'application/vnd.immervision-ivp' => 'ivp',
- 'application/vnd.immervision-ivu' => 'ivu',
- 'application/vnd.insors.igm' => 'igm',
- 'application/vnd.intercon.formnet' => 'xpw',
- 'application/vnd.intergeo' => 'i2g',
- 'application/vnd.intu.qbo' => 'qbo',
- 'application/vnd.intu.qfx' => 'qfx',
- 'application/vnd.ipunplugged.rcprofile' => 'rcprofile',
- 'application/vnd.irepository.package+xml' => 'irp',
- 'application/vnd.is-xpr' => 'xpr',
- 'application/vnd.isac.fcs' => 'fcs',
- 'application/vnd.jam' => 'jam',
- 'application/vnd.jcp.javame.midlet-rms' => 'rms',
- 'application/vnd.jisp' => 'jisp',
- 'application/vnd.joost.joda-archive' => 'joda',
- 'application/vnd.kahootz' => 'ktz',
- 'application/vnd.kde.karbon' => 'karbon',
- 'application/vnd.kde.kchart' => 'chrt',
- 'application/vnd.kde.kformula' => 'kfo',
- 'application/vnd.kde.kivio' => 'flw',
- 'application/vnd.kde.kontour' => 'kon',
- 'application/vnd.kde.kpresenter' => 'kpr',
- 'application/vnd.kde.kspread' => 'ksp',
- 'application/vnd.kde.kword' => 'kwd',
- 'application/vnd.kenameaapp' => 'htke',
- 'application/vnd.kidspiration' => 'kia',
- 'application/vnd.kinar' => 'kne',
- 'application/vnd.koan' => 'skp',
- 'application/vnd.kodak-descriptor' => 'sse',
- 'application/vnd.las.las+xml' => 'lasxml',
- 'application/vnd.llamagraphics.life-balance.desktop' => 'lbd',
- 'application/vnd.llamagraphics.life-balance.exchange+xml' => 'lbe',
- 'application/vnd.lotus-1-2-3' => '123',
- 'application/vnd.lotus-approach' => 'apr',
- 'application/vnd.lotus-freelance' => 'pre',
- 'application/vnd.lotus-notes' => 'nsf',
- 'application/vnd.lotus-organizer' => 'org',
- 'application/vnd.lotus-screencam' => 'scm',
- 'application/vnd.lotus-wordpro' => 'lwp',
- 'application/vnd.macports.portpkg' => 'portpkg',
- 'application/vnd.mcd' => 'mcd',
- 'application/vnd.medcalcdata' => 'mc1',
- 'application/vnd.mediastation.cdkey' => 'cdkey',
- 'application/vnd.mfer' => 'mwf',
- 'application/vnd.mfmp' => 'mfm',
- 'application/vnd.micrografx.flo' => 'flo',
- 'application/vnd.micrografx.igx' => 'igx',
- 'application/vnd.mif' => 'mif',
- 'application/vnd.mobius.daf' => 'daf',
- 'application/vnd.mobius.dis' => 'dis',
- 'application/vnd.mobius.mbk' => 'mbk',
- 'application/vnd.mobius.mqy' => 'mqy',
- 'application/vnd.mobius.msl' => 'msl',
- 'application/vnd.mobius.plc' => 'plc',
- 'application/vnd.mobius.txf' => 'txf',
- 'application/vnd.mophun.application' => 'mpn',
- 'application/vnd.mophun.certificate' => 'mpc',
- 'application/vnd.mozilla.xul+xml' => 'xul',
- 'application/vnd.ms-artgalry' => 'cil',
- 'application/vnd.ms-cab-compressed' => 'cab',
- 'application/vnd.ms-excel' => 'xls',
- 'application/vnd.ms-excel.addin.macroenabled.12' => 'xlam',
- 'application/vnd.ms-excel.sheet.binary.macroenabled.12' => 'xlsb',
- 'application/vnd.ms-excel.sheet.macroenabled.12' => 'xlsm',
- 'application/vnd.ms-excel.template.macroenabled.12' => 'xltm',
- 'application/vnd.ms-fontobject' => 'eot',
- 'application/vnd.ms-htmlhelp' => 'chm',
- 'application/vnd.ms-ims' => 'ims',
- 'application/vnd.ms-lrm' => 'lrm',
- 'application/vnd.ms-officetheme' => 'thmx',
- 'application/vnd.ms-pki.seccat' => 'cat',
- 'application/vnd.ms-pki.stl' => 'stl',
- 'application/vnd.ms-powerpoint' => 'ppt',
- 'application/vnd.ms-powerpoint.addin.macroenabled.12' => 'ppam',
- 'application/vnd.ms-powerpoint.presentation.macroenabled.12' => 'pptm',
- 'application/vnd.ms-powerpoint.slide.macroenabled.12' => 'sldm',
- 'application/vnd.ms-powerpoint.slideshow.macroenabled.12' => 'ppsm',
- 'application/vnd.ms-powerpoint.template.macroenabled.12' => 'potm',
- 'application/vnd.ms-project' => 'mpp',
- 'application/vnd.ms-word.document.macroenabled.12' => 'docm',
- 'application/vnd.ms-word.template.macroenabled.12' => 'dotm',
- 'application/vnd.ms-works' => 'wps',
- 'application/vnd.ms-wpl' => 'wpl',
- 'application/vnd.ms-xpsdocument' => 'xps',
- 'application/vnd.mseq' => 'mseq',
- 'application/vnd.musician' => 'mus',
- 'application/vnd.muvee.style' => 'msty',
- 'application/vnd.neurolanguage.nlu' => 'nlu',
- 'application/vnd.noblenet-directory' => 'nnd',
- 'application/vnd.noblenet-sealer' => 'nns',
- 'application/vnd.noblenet-web' => 'nnw',
- 'application/vnd.nokia.n-gage.data' => 'ngdat',
- 'application/vnd.nokia.n-gage.symbian.install' => 'n-gage',
- 'application/vnd.nokia.radio-preset' => 'rpst',
- 'application/vnd.nokia.radio-presets' => 'rpss',
- 'application/vnd.novadigm.edm' => 'edm',
- 'application/vnd.novadigm.edx' => 'edx',
- 'application/vnd.novadigm.ext' => 'ext',
- 'application/vnd.oasis.opendocument.chart' => 'odc',
- 'application/vnd.oasis.opendocument.chart-template' => 'otc',
- 'application/vnd.oasis.opendocument.database' => 'odb',
- 'application/vnd.oasis.opendocument.formula' => 'odf',
- 'application/vnd.oasis.opendocument.formula-template' => 'odft',
- 'application/vnd.oasis.opendocument.graphics' => 'odg',
- 'application/vnd.oasis.opendocument.graphics-template' => 'otg',
- 'application/vnd.oasis.opendocument.image' => 'odi',
- 'application/vnd.oasis.opendocument.image-template' => 'oti',
- 'application/vnd.oasis.opendocument.presentation' => 'odp',
- 'application/vnd.oasis.opendocument.presentation-template' => 'otp',
- 'application/vnd.oasis.opendocument.spreadsheet' => 'ods',
- 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots',
- 'application/vnd.oasis.opendocument.text' => 'odt',
- 'application/vnd.oasis.opendocument.text-master' => 'odm',
- 'application/vnd.oasis.opendocument.text-template' => 'ott',
- 'application/vnd.oasis.opendocument.text-web' => 'oth',
- 'application/vnd.olpc-sugar' => 'xo',
- 'application/vnd.oma.dd2+xml' => 'dd2',
- 'application/vnd.openofficeorg.extension' => 'oxt',
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'pptx',
- 'application/vnd.openxmlformats-officedocument.presentationml.slide' => 'sldx',
- 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'ppsx',
- 'application/vnd.openxmlformats-officedocument.presentationml.template' => 'potx',
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'xlsx',
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'xltx',
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'docx',
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => 'dotx',
- 'application/vnd.osgeo.mapguide.package' => 'mgp',
- 'application/vnd.osgi.dp' => 'dp',
- 'application/vnd.palm' => 'pdb',
- 'application/vnd.pawaafile' => 'paw',
- 'application/vnd.pg.format' => 'str',
- 'application/vnd.pg.osasli' => 'ei6',
- 'application/vnd.picsel' => 'efif',
- 'application/vnd.pmi.widget' => 'wg',
- 'application/vnd.pocketlearn' => 'plf',
- 'application/vnd.powerbuilder6' => 'pbd',
- 'application/vnd.previewsystems.box' => 'box',
- 'application/vnd.proteus.magazine' => 'mgz',
- 'application/vnd.publishare-delta-tree' => 'qps',
- 'application/vnd.pvi.ptid1' => 'ptid',
- 'application/vnd.quark.quarkxpress' => 'qxd',
- 'application/vnd.realvnc.bed' => 'bed',
- 'application/vnd.recordare.musicxml' => 'mxl',
- 'application/vnd.recordare.musicxml+xml' => 'musicxml',
- 'application/vnd.rig.cryptonote' => 'cryptonote',
- 'application/vnd.rim.cod' => 'cod',
- 'application/vnd.rn-realmedia' => 'rm',
- 'application/vnd.route66.link66+xml' => 'link66',
- 'application/vnd.sailingtracker.track' => 'st',
- 'application/vnd.seemail' => 'see',
- 'application/vnd.sema' => 'sema',
- 'application/vnd.semd' => 'semd',
- 'application/vnd.semf' => 'semf',
- 'application/vnd.shana.informed.formdata' => 'ifm',
- 'application/vnd.shana.informed.formtemplate' => 'itp',
- 'application/vnd.shana.informed.interchange' => 'iif',
- 'application/vnd.shana.informed.package' => 'ipk',
- 'application/vnd.simtech-mindmapper' => 'twd',
- 'application/vnd.smaf' => 'mmf',
- 'application/vnd.smart.teacher' => 'teacher',
- 'application/vnd.solent.sdkm+xml' => 'sdkm',
- 'application/vnd.spotfire.dxp' => 'dxp',
- 'application/vnd.spotfire.sfs' => 'sfs',
- 'application/vnd.stardivision.calc' => 'sdc',
- 'application/vnd.stardivision.draw' => 'sda',
- 'application/vnd.stardivision.impress' => 'sdd',
- 'application/vnd.stardivision.math' => 'smf',
- 'application/vnd.stardivision.writer' => 'sdw',
- 'application/vnd.stardivision.writer-global' => 'sgl',
- 'application/vnd.stepmania.stepchart' => 'sm',
- 'application/vnd.sun.xml.calc' => 'sxc',
- 'application/vnd.sun.xml.calc.template' => 'stc',
- 'application/vnd.sun.xml.draw' => 'sxd',
- 'application/vnd.sun.xml.draw.template' => 'std',
- 'application/vnd.sun.xml.impress' => 'sxi',
- 'application/vnd.sun.xml.impress.template' => 'sti',
- 'application/vnd.sun.xml.math' => 'sxm',
- 'application/vnd.sun.xml.writer' => 'sxw',
- 'application/vnd.sun.xml.writer.global' => 'sxg',
- 'application/vnd.sun.xml.writer.template' => 'stw',
- 'application/vnd.sus-calendar' => 'sus',
- 'application/vnd.svd' => 'svd',
- 'application/vnd.symbian.install' => 'sis',
- 'application/vnd.syncml+xml' => 'xsm',
- 'application/vnd.syncml.dm+wbxml' => 'bdm',
- 'application/vnd.syncml.dm+xml' => 'xdm',
- 'application/vnd.tao.intent-module-archive' => 'tao',
- 'application/vnd.tmobile-livetv' => 'tmo',
- 'application/vnd.trid.tpt' => 'tpt',
- 'application/vnd.triscape.mxs' => 'mxs',
- 'application/vnd.trueapp' => 'tra',
- 'application/vnd.ufdl' => 'ufd',
- 'application/vnd.uiq.theme' => 'utz',
- 'application/vnd.umajin' => 'umj',
- 'application/vnd.unity' => 'unityweb',
- 'application/vnd.uoml+xml' => 'uoml',
- 'application/vnd.vcx' => 'vcx',
- 'application/vnd.visio' => 'vsd',
- 'application/vnd.visionary' => 'vis',
- 'application/vnd.vsf' => 'vsf',
- 'application/vnd.wap.wbxml' => 'wbxml',
- 'application/vnd.wap.wmlc' => 'wmlc',
- 'application/vnd.wap.wmlscriptc' => 'wmlsc',
- 'application/vnd.webturbo' => 'wtb',
- 'application/vnd.wolfram.player' => 'nbp',
- 'application/vnd.wordperfect' => 'wpd',
- 'application/vnd.wqd' => 'wqd',
- 'application/vnd.wt.stf' => 'stf',
- 'application/vnd.xara' => 'xar',
- 'application/vnd.xfdl' => 'xfdl',
- 'application/vnd.yamaha.hv-dic' => 'hvd',
- 'application/vnd.yamaha.hv-script' => 'hvs',
- 'application/vnd.yamaha.hv-voice' => 'hvp',
- 'application/vnd.yamaha.openscoreformat' => 'osf',
- 'application/vnd.yamaha.openscoreformat.osfpvg+xml' => 'osfpvg',
- 'application/vnd.yamaha.smaf-audio' => 'saf',
- 'application/vnd.yamaha.smaf-phrase' => 'spf',
- 'application/vnd.yellowriver-custom-menu' => 'cmp',
- 'application/vnd.zul' => 'zir',
- 'application/vnd.zzazz.deck+xml' => 'zaz',
- 'application/voicexml+xml' => 'vxml',
- 'application/widget' => 'wgt',
- 'application/winhlp' => 'hlp',
- 'application/wsdl+xml' => 'wsdl',
- 'application/wspolicy+xml' => 'wspolicy',
- 'application/x-7z-compressed' => '7z',
- 'application/x-abiword' => 'abw',
- 'application/x-ace-compressed' => 'ace',
- 'application/x-authorware-bin' => 'aab',
- 'application/x-authorware-map' => 'aam',
- 'application/x-authorware-seg' => 'aas',
- 'application/x-bcpio' => 'bcpio',
- 'application/x-bittorrent' => 'torrent',
- 'application/x-bzip' => 'bz',
- 'application/x-bzip2' => 'bz2',
- 'application/x-cdlink' => 'vcd',
- 'application/x-chat' => 'chat',
- 'application/x-chess-pgn' => 'pgn',
- 'application/x-cpio' => 'cpio',
- 'application/x-csh' => 'csh',
- 'application/x-debian-package' => 'deb',
- 'application/x-director' => 'dir',
- 'application/x-doom' => 'wad',
- 'application/x-dtbncx+xml' => 'ncx',
- 'application/x-dtbook+xml' => 'dtb',
- 'application/x-dtbresource+xml' => 'res',
- 'application/x-dvi' => 'dvi',
- 'application/x-font-bdf' => 'bdf',
- 'application/x-font-ghostscript' => 'gsf',
- 'application/x-font-linux-psf' => 'psf',
- 'application/x-font-otf' => 'otf',
- 'application/x-font-pcf' => 'pcf',
- 'application/x-font-snf' => 'snf',
- 'application/x-font-ttf' => 'ttf',
- 'application/x-font-type1' => 'pfa',
- 'application/x-font-woff' => 'woff',
- 'application/x-futuresplash' => 'spl',
- 'application/x-gnumeric' => 'gnumeric',
- 'application/x-gtar' => 'gtar',
- 'application/x-hdf' => 'hdf',
- 'application/x-java-jnlp-file' => 'jnlp',
- 'application/x-latex' => 'latex',
- 'application/x-mobipocket-ebook' => 'prc',
- 'application/x-ms-application' => 'application',
- 'application/x-ms-wmd' => 'wmd',
- 'application/x-ms-wmz' => 'wmz',
- 'application/x-ms-xbap' => 'xbap',
- 'application/x-msaccess' => 'mdb',
- 'application/x-msbinder' => 'obd',
- 'application/x-mscardfile' => 'crd',
- 'application/x-msclip' => 'clp',
- 'application/x-msdownload' => 'exe',
- 'application/x-msmediaview' => 'mvb',
- 'application/x-msmetafile' => 'wmf',
- 'application/x-msmoney' => 'mny',
- 'application/x-mspublisher' => 'pub',
- 'application/x-msschedule' => 'scd',
- 'application/x-msterminal' => 'trm',
- 'application/x-mswrite' => 'wri',
- 'application/x-netcdf' => 'nc',
- 'application/x-pkcs12' => 'p12',
- 'application/x-pkcs7-certificates' => 'p7b',
- 'application/x-pkcs7-certreqresp' => 'p7r',
- 'application/x-rar-compressed' => 'rar',
- 'application/x-sh' => 'sh',
- 'application/x-shar' => 'shar',
- 'application/x-shockwave-flash' => 'swf',
- 'application/x-silverlight-app' => 'xap',
- 'application/x-stuffit' => 'sit',
- 'application/x-stuffitx' => 'sitx',
- 'application/x-sv4cpio' => 'sv4cpio',
- 'application/x-sv4crc' => 'sv4crc',
- 'application/x-tar' => 'tar',
- 'application/x-tcl' => 'tcl',
- 'application/x-tex' => 'tex',
- 'application/x-tex-tfm' => 'tfm',
- 'application/x-texinfo' => 'texinfo',
- 'application/x-ustar' => 'ustar',
- 'application/x-wais-source' => 'src',
- 'application/x-x509-ca-cert' => 'der',
- 'application/x-xfig' => 'fig',
- 'application/x-xpinstall' => 'xpi',
- 'application/xcap-diff+xml' => 'xdf',
- 'application/xenc+xml' => 'xenc',
- 'application/xhtml+xml' => 'xhtml',
- 'application/xml' => 'xml',
- 'application/xml-dtd' => 'dtd',
- 'application/xop+xml' => 'xop',
- 'application/xslt+xml' => 'xslt',
- 'application/xspf+xml' => 'xspf',
- 'application/xv+xml' => 'mxml',
- 'application/yang' => 'yang',
- 'application/yin+xml' => 'yin',
- 'application/zip' => 'zip',
- 'audio/adpcm' => 'adp',
- 'audio/basic' => 'au',
- 'audio/midi' => 'mid',
- 'audio/mp4' => 'mp4a',
- 'audio/mpeg' => 'mpga',
- 'audio/ogg' => 'oga',
- 'audio/vnd.dece.audio' => 'uva',
- 'audio/vnd.digital-winds' => 'eol',
- 'audio/vnd.dra' => 'dra',
- 'audio/vnd.dts' => 'dts',
- 'audio/vnd.dts.hd' => 'dtshd',
- 'audio/vnd.lucent.voice' => 'lvp',
- 'audio/vnd.ms-playready.media.pya' => 'pya',
- 'audio/vnd.nuera.ecelp4800' => 'ecelp4800',
- 'audio/vnd.nuera.ecelp7470' => 'ecelp7470',
- 'audio/vnd.nuera.ecelp9600' => 'ecelp9600',
- 'audio/vnd.rip' => 'rip',
- 'audio/webm' => 'weba',
- 'audio/x-aac' => 'aac',
- 'audio/x-aiff' => 'aif',
- 'audio/x-mpegurl' => 'm3u',
- 'audio/x-ms-wax' => 'wax',
- 'audio/x-ms-wma' => 'wma',
- 'audio/x-pn-realaudio' => 'ram',
- 'audio/x-pn-realaudio-plugin' => 'rmp',
- 'audio/x-wav' => 'wav',
- 'chemical/x-cdx' => 'cdx',
- 'chemical/x-cif' => 'cif',
- 'chemical/x-cmdf' => 'cmdf',
- 'chemical/x-cml' => 'cml',
- 'chemical/x-csml' => 'csml',
- 'chemical/x-xyz' => 'xyz',
- 'image/bmp' => 'bmp',
- 'image/cgm' => 'cgm',
- 'image/g3fax' => 'g3',
- 'image/gif' => 'gif',
- 'image/ief' => 'ief',
- 'image/jpeg' => 'jpeg jpg',
- 'image/ktx' => 'ktx',
- 'image/png' => 'png',
- 'image/prs.btif' => 'btif',
- 'image/svg+xml' => 'svg',
- 'image/tiff' => 'tiff',
- 'image/vnd.adobe.photoshop' => 'psd',
- 'image/vnd.dece.graphic' => 'uvi',
- 'image/vnd.djvu' => 'djvu',
- 'image/vnd.dvb.subtitle' => 'sub',
- 'image/vnd.dwg' => 'dwg',
- 'image/vnd.dxf' => 'dxf',
- 'image/vnd.fastbidsheet' => 'fbs',
- 'image/vnd.fpx' => 'fpx',
- 'image/vnd.fst' => 'fst',
- 'image/vnd.fujixerox.edmics-mmr' => 'mmr',
- 'image/vnd.fujixerox.edmics-rlc' => 'rlc',
- 'image/vnd.ms-modi' => 'mdi',
- 'image/vnd.net-fpx' => 'npx',
- 'image/vnd.wap.wbmp' => 'wbmp',
- 'image/vnd.xiff' => 'xif',
- 'image/webp' => 'webp',
- 'image/x-cmu-raster' => 'ras',
- 'image/x-cmx' => 'cmx',
- 'image/x-freehand' => 'fh',
- 'image/x-icon' => 'ico',
- 'image/x-pcx' => 'pcx',
- 'image/x-pict' => 'pic',
- 'image/x-portable-anymap' => 'pnm',
- 'image/x-portable-bitmap' => 'pbm',
- 'image/x-portable-graymap' => 'pgm',
- 'image/x-portable-pixmap' => 'ppm',
- 'image/x-rgb' => 'rgb',
- 'image/x-xbitmap' => 'xbm',
- 'image/x-xpixmap' => 'xpm',
- 'image/x-xwindowdump' => 'xwd',
- 'message/rfc822' => 'eml',
- 'model/iges' => 'igs',
- 'model/mesh' => 'msh',
- 'model/vnd.collada+xml' => 'dae',
- 'model/vnd.dwf' => 'dwf',
- 'model/vnd.gdl' => 'gdl',
- 'model/vnd.gtw' => 'gtw',
- 'model/vnd.mts' => 'mts',
- 'model/vnd.vtu' => 'vtu',
- 'model/vrml' => 'wrl',
- 'text/calendar' => 'ics',
- 'text/css' => 'css',
- 'text/csv' => 'csv',
- 'text/html' => 'html',
- 'text/n3' => 'n3',
- 'text/plain' => 'txt',
- 'text/plain-bas' => 'par',
- 'text/prs.lines.tag' => 'dsc',
- 'text/richtext' => 'rtx',
- 'text/sgml' => 'sgml',
- 'text/tab-separated-values' => 'tsv',
- 'text/troff' => 't',
- 'text/turtle' => 'ttl',
- 'text/uri-list' => 'uri',
- 'text/vnd.curl' => 'curl',
- 'text/vnd.curl.dcurl' => 'dcurl',
- 'text/vnd.curl.mcurl' => 'mcurl',
- 'text/vnd.curl.scurl' => 'scurl',
- 'text/vnd.fly' => 'fly',
- 'text/vnd.fmi.flexstor' => 'flx',
- 'text/vnd.graphviz' => 'gv',
- 'text/vnd.in3d.3dml' => '3dml',
- 'text/vnd.in3d.spot' => 'spot',
- 'text/vnd.sun.j2me.app-descriptor' => 'jad',
- 'text/vnd.wap.wml' => 'wml',
- 'text/vnd.wap.wmlscript' => 'wmls',
- 'text/x-asm' => 's',
- 'text/x-c' => 'c',
- 'text/x-fortran' => 'f',
- 'text/x-java-source,java' => 'java',
- 'text/x-markdown' => 'md',
- 'text/x-pascal' => 'p',
- 'text/x-setext' => 'etx',
- 'text/x-uuencode' => 'uu',
- 'text/x-vcalendar' => 'vcs',
- 'text/x-vcard' => 'vcf',
- 'text/yaml' => 'yaml',
- 'video/3gpp' => '3gp',
- 'video/3gpp2' => '3g2',
- 'video/h261' => 'h261',
- 'video/h263' => 'h263',
- 'video/h264' => 'h264',
- 'video/jpeg' => 'jpgv',
- 'video/jpm' => 'jpm',
- 'video/mj2' => 'mj2',
- 'video/mp4' => 'mp4',
- 'video/mpeg' => 'mpeg',
- 'video/ogg' => 'ogv',
- 'video/quicktime' => 'qt',
- 'video/vnd.dece.hd' => 'uvh',
- 'video/vnd.dece.mobile' => 'uvm',
- 'video/vnd.dece.pd' => 'uvp',
- 'video/vnd.dece.sd' => 'uvs',
- 'video/vnd.dece.video' => 'uvv',
- 'video/vnd.fvt' => 'fvt',
- 'video/vnd.mpegurl' => 'mxu',
- 'video/vnd.ms-playready.media.pyv' => 'pyv',
- 'video/vnd.uvvu.mp4' => 'uvu',
- 'video/vnd.vivo' => 'viv',
- 'video/webm' => 'webm',
- 'video/x-f4v' => 'f4v',
- 'video/x-fli' => 'fli',
- 'video/x-flv' => 'flv',
- 'video/x-m4v' => 'm4v',
- 'video/x-ms-asf' => 'asf',
- 'video/x-ms-wm' => 'wm',
- 'video/x-ms-wmv' => 'wmv',
- 'video/x-ms-wmx' => 'wmx',
- 'video/x-ms-wvx' => 'wvx',
- 'video/x-msvideo' => 'avi',
- 'video/x-sgi-movie' => 'movie',
- 'x-conference/x-cooltalk' => 'ice',
- 'text/json' => 'json',
- 'text/x-php' => 'php',
+ const Types = [
+#>_SHELL_REPLACE dbq db=$NB_DB t=mime_type -cut 2,3 | perl -pe "s/'/\\\\'/; s/^(.*?)\t(.*?)$/ '\$1' => '\$2',/"
+#>SHELL_REPLACE dbq db=$NB_DB t="SELECT type,ext FROM mime_type" format=php_hash align=0 | sed "s/^/$(printf '\t\t')/"
+ "application/applixware" => "aw",
+ "application/atomcat+xml" => "atomcat",
+ "application/atomsvc+xml" => "atomsvc",
+ "application/ccxml+xml," => "ccxml",
+ "application/cdmi-capability" => "cdmia",
+ "application/cdmi-container" => "cdmic",
+ "application/cdmi-domain" => "cdmid",
+ "application/cdmi-object" => "cdmio",
+ "application/cdmi-queue" => "cdmiq",
+ "application/cu-seeme" => "cu",
+ "application/davmount+xml" => "davmount",
+ "application/dssc+der" => "dssc",
+ "application/dssc+xml" => "xdssc",
+ "application/ecmascript" => "es",
+ "application/emma+xml" => "emma",
+ "application/epub+zip" => "epub",
+ "application/exi" => "exi",
+ "application/font-tdpfr" => "pfr",
+ "application/hyperstudio" => "stk",
+ "application/ipfix" => "ipfix",
+ "application/java-archive" => "jar",
+ "application/java-serialized-object" => "ser",
+ "application/java-vm" => "class",
+ "application/javascript" => "js",
+ "application/json" => "json",
+ "application/mac-binhex40" => "hqx",
+ "application/mac-compactpro" => "cpt",
+ "application/mads+xml" => "mads",
+ "application/marc" => "mrc",
+ "application/marcxml+xml" => "mrcx",
+ "application/mathematica" => "ma",
+ "application/mathml+xml" => "mathml",
+ "application/mbox" => "mbox",
+ "application/mediaservercontrol+xml" => "mscml",
+ "application/metalink4+xml" => "meta4",
+ "application/mets+xml" => "mets",
+ "application/mods+xml" => "mods",
+ "application/mp21" => "m21",
+ "application/mp4" => "mp4",
+ "application/msword" => "doc",
+ "application/mxf" => "mxf",
+ "application/octet-stream" => "bin",
+ "application/oda" => "oda",
+ "application/oebps-package+xml" => "opf",
+ "application/ogg" => "ogx",
+ "application/onenote" => "onetoc",
+ "application/patch-ops-error+xml" => "xer",
+ "application/pdf" => "pdf",
+ "application/pgp-signature" => "pgp",
+ "application/pics-rules" => "prf",
+ "application/pkcs10" => "p10",
+ "application/pkcs7-mime" => "p7m",
+ "application/pkcs7-signature" => "p7s",
+ "application/pkcs8" => "p8",
+ "application/pkix-attr-cert" => "ac",
+ "application/pkix-cert" => "cer",
+ "application/pkix-crl" => "crl",
+ "application/pkix-pkipath" => "pkipath",
+ "application/pkixcmp" => "pki",
+ "application/pls+xml" => "pls",
+ "application/postscript" => "ai",
+ "application/prs.cww" => "cww",
+ "application/pskc+xml" => "pskcxml",
+ "application/rdf+xml" => "rdf",
+ "application/reginfo+xml" => "rif",
+ "application/relax-ng-compact-syntax" => "rnc",
+ "application/resource-lists+xml" => "rl",
+ "application/resource-lists-diff+xml" => "rld",
+ "application/rls-services+xml" => "rs",
+ "application/rsd+xml" => "rsd",
+ "application/rss+xml" => "rss",
+ "application/rtf" => "rtf",
+ "application/sbml+xml" => "sbml",
+ "application/scvp-cv-request" => "scq",
+ "application/scvp-cv-response" => "scs",
+ "application/scvp-vp-request" => "spq",
+ "application/scvp-vp-response" => "spp",
+ "application/sdp" => "sdp",
+ "application/set-payment-initiation" => "setpay",
+ "application/set-registration-initiation" => "setreg",
+ "application/shf+xml" => "shf",
+ "application/smil+xml" => "smi",
+ "application/sparql-query" => "rq",
+ "application/sparql-results+xml" => "srx",
+ "application/srgs" => "gram",
+ "application/srgs+xml" => "grxml",
+ "application/sru+xml" => "sru",
+ "application/ssml+xml" => "ssml",
+ "application/tei+xml" => "tei",
+ "application/thraud+xml" => "tfi",
+ "application/timestamped-data" => "tsd",
+ "application/vnd.3gpp.pic-bw-large" => "plb",
+ "application/vnd.3gpp.pic-bw-small" => "psb",
+ "application/vnd.3gpp.pic-bw-var" => "pvb",
+ "application/vnd.3gpp2.tcap" => "tcap",
+ "application/vnd.3m.post-it-notes" => "pwn",
+ "application/vnd.accpac.simply.aso" => "aso",
+ "application/vnd.accpac.simply.imp" => "imp",
+ "application/vnd.acucobol" => "acu",
+ "application/vnd.acucorp" => "atc",
+ "application/vnd.adobe.air-application-installer-package+zip" => "air",
+ "application/vnd.adobe.fxp" => "fxp",
+ "application/vnd.adobe.xdp+xml" => "xdp",
+ "application/vnd.adobe.xfdf" => "xfdf",
+ "application/vnd.ahead.space" => "ahead",
+ "application/vnd.airzip.filesecure.azf" => "azf",
+ "application/vnd.airzip.filesecure.azs" => "azs",
+ "application/vnd.amazon.ebook" => "azw",
+ "application/vnd.americandynamics.acc" => "acc",
+ "application/vnd.amiga.ami" => "ami",
+ "application/vnd.android.package-archive" => "apk",
+ "application/vnd.anser-web-certificate-issue-initiation" => "cii",
+ "application/vnd.anser-web-funds-transfer-initiation" => "fti",
+ "application/vnd.antix.game-component" => "atx",
+ "application/vnd.apple.installer+xml" => "mpkg",
+ "application/vnd.apple.mpegurl" => "m3u8",
+ "application/vnd.aristanetworks.swi" => "swi",
+ "application/vnd.audiograph" => "aep",
+ "application/vnd.blueice.multipass" => "mpm",
+ "application/vnd.bmi" => "bmi",
+ "application/vnd.businessobjects" => "rep",
+ "application/vnd.chemdraw+xml" => "cdxml",
+ "application/vnd.chipnuts.karaoke-mmd" => "mmd",
+ "application/vnd.cinderella" => "cdy",
+ "application/vnd.claymore" => "cla",
+ "application/vnd.cloanto.rp9" => "rp9",
+ "application/vnd.clonk.c4group" => "c4g",
+ "application/vnd.cluetrust.cartomobile-config" => "c11amc",
+ "application/vnd.cluetrust.cartomobile-config-pkg" => "c11amz",
+ "application/vnd.commonspace" => "csp",
+ "application/vnd.contact.cmsg" => "cdbcmsg",
+ "application/vnd.cosmocaller" => "cmc",
+ "application/vnd.crick.clicker" => "clkx",
+ "application/vnd.crick.clicker.keyboard" => "clkk",
+ "application/vnd.crick.clicker.palette" => "clkp",
+ "application/vnd.crick.clicker.template" => "clkt",
+ "application/vnd.crick.clicker.wordbank" => "clkw",
+ "application/vnd.criticaltools.wbs+xml" => "wbs",
+ "application/vnd.ctc-posml" => "pml",
+ "application/vnd.cups-ppd" => "ppd",
+ "application/vnd.curl.car" => "car",
+ "application/vnd.curl.pcurl" => "pcurl",
+ "application/vnd.data-vision.rdz" => "rdz",
+ "application/vnd.denovo.fcselayout-link" => "fe_launch",
+ "application/vnd.dna" => "dna",
+ "application/vnd.dolby.mlp" => "mlp",
+ "application/vnd.dpgraph" => "dpg",
+ "application/vnd.dreamfactory" => "dfac",
+ "application/vnd.dvb.ait" => "ait",
+ "application/vnd.dvb.service" => "svc",
+ "application/vnd.dynageo" => "geo",
+ "application/vnd.ecowin.chart" => "mag",
+ "application/vnd.enliven" => "nml",
+ "application/vnd.epson.esf" => "esf",
+ "application/vnd.epson.msf" => "msf",
+ "application/vnd.epson.quickanime" => "qam",
+ "application/vnd.epson.salt" => "slt",
+ "application/vnd.epson.ssf" => "ssf",
+ "application/vnd.eszigno3+xml" => "es3",
+ "application/vnd.ezpix-album" => "ez2",
+ "application/vnd.ezpix-package" => "ez3",
+ "application/vnd.fdf" => "fdf",
+ "application/vnd.fdsn.seed" => "seed",
+ "application/vnd.flographit" => "gph",
+ "application/vnd.fluxtime.clip" => "ftc",
+ "application/vnd.framemaker" => "fm",
+ "application/vnd.frogans.fnc" => "fnc",
+ "application/vnd.frogans.ltf" => "ltf",
+ "application/vnd.fsc.weblaunch" => "fsc",
+ "application/vnd.fujitsu.oasys" => "oas",
+ "application/vnd.fujitsu.oasys2" => "oa2",
+ "application/vnd.fujitsu.oasys3" => "oa3",
+ "application/vnd.fujitsu.oasysgp" => "fg5",
+ "application/vnd.fujitsu.oasysprs" => "bh2",
+ "application/vnd.fujixerox.ddd" => "ddd",
+ "application/vnd.fujixerox.docuworks" => "xdw",
+ "application/vnd.fujixerox.docuworks.binder" => "xbd",
+ "application/vnd.fuzzysheet" => "fzs",
+ "application/vnd.genomatix.tuxedo" => "txd",
+ "application/vnd.geogebra.file" => "ggb",
+ "application/vnd.geogebra.tool" => "ggt",
+ "application/vnd.geometry-explorer" => "gex",
+ "application/vnd.geonext" => "gxt",
+ "application/vnd.geoplan" => "g2w",
+ "application/vnd.geospace" => "g3w",
+ "application/vnd.gmx" => "gmx",
+ "application/vnd.google-earth.kml+xml" => "kml",
+ "application/vnd.google-earth.kmz" => "kmz",
+ "application/vnd.grafeq" => "gqf",
+ "application/vnd.groove-account" => "gac",
+ "application/vnd.groove-help" => "ghf",
+ "application/vnd.groove-identity-message" => "gim",
+ "application/vnd.groove-injector" => "grv",
+ "application/vnd.groove-tool-message" => "gtm",
+ "application/vnd.groove-tool-template" => "tpl",
+ "application/vnd.groove-vcard" => "vcg",
+ "application/vnd.hal+xml" => "hal",
+ "application/vnd.handheld-entertainment+xml" => "zmm",
+ "application/vnd.hbci" => "hbci",
+ "application/vnd.hhe.lesson-player" => "les",
+ "application/vnd.hp-hpgl" => "hpgl",
+ "application/vnd.hp-hpid" => "hpid",
+ "application/vnd.hp-hps" => "hps",
+ "application/vnd.hp-jlyt" => "jlt",
+ "application/vnd.hp-pcl" => "pcl",
+ "application/vnd.hp-pclxl" => "pclxl",
+ "application/vnd.hydrostatix.sof-data" => "sfd-hdstx",
+ "application/vnd.hzn-3d-crossword" => "x3d",
+ "application/vnd.ibm.minipay" => "mpy",
+ "application/vnd.ibm.modcap" => "afp",
+ "application/vnd.ibm.rights-management" => "irm",
+ "application/vnd.ibm.secure-container" => "sc",
+ "application/vnd.iccprofile" => "icc",
+ "application/vnd.igloader" => "igl",
+ "application/vnd.immervision-ivp" => "ivp",
+ "application/vnd.immervision-ivu" => "ivu",
+ "application/vnd.insors.igm" => "igm",
+ "application/vnd.intercon.formnet" => "xpw",
+ "application/vnd.intergeo" => "i2g",
+ "application/vnd.intu.qbo" => "qbo",
+ "application/vnd.intu.qfx" => "qfx",
+ "application/vnd.ipunplugged.rcprofile" => "rcprofile",
+ "application/vnd.irepository.package+xml" => "irp",
+ "application/vnd.is-xpr" => "xpr",
+ "application/vnd.isac.fcs" => "fcs",
+ "application/vnd.jam" => "jam",
+ "application/vnd.jcp.javame.midlet-rms" => "rms",
+ "application/vnd.jisp" => "jisp",
+ "application/vnd.joost.joda-archive" => "joda",
+ "application/vnd.kahootz" => "ktz",
+ "application/vnd.kde.karbon" => "karbon",
+ "application/vnd.kde.kchart" => "chrt",
+ "application/vnd.kde.kformula" => "kfo",
+ "application/vnd.kde.kivio" => "flw",
+ "application/vnd.kde.kontour" => "kon",
+ "application/vnd.kde.kpresenter" => "kpr",
+ "application/vnd.kde.kspread" => "ksp",
+ "application/vnd.kde.kword" => "kwd",
+ "application/vnd.kenameaapp" => "htke",
+ "application/vnd.kidspiration" => "kia",
+ "application/vnd.kinar" => "kne",
+ "application/vnd.koan" => "skp",
+ "application/vnd.kodak-descriptor" => "sse",
+ "application/vnd.las.las+xml" => "lasxml",
+ "application/vnd.llamagraphics.life-balance.desktop" => "lbd",
+ "application/vnd.llamagraphics.life-balance.exchange+xml" => "lbe",
+ "application/vnd.lotus-1-2-3" => "123",
+ "application/vnd.lotus-approach" => "apr",
+ "application/vnd.lotus-freelance" => "pre",
+ "application/vnd.lotus-notes" => "nsf",
+ "application/vnd.lotus-organizer" => "org",
+ "application/vnd.lotus-screencam" => "scm",
+ "application/vnd.lotus-wordpro" => "lwp",
+ "application/vnd.macports.portpkg" => "portpkg",
+ "application/vnd.mcd" => "mcd",
+ "application/vnd.medcalcdata" => "mc1",
+ "application/vnd.mediastation.cdkey" => "cdkey",
+ "application/vnd.mfer" => "mwf",
+ "application/vnd.mfmp" => "mfm",
+ "application/vnd.micrografx.flo" => "flo",
+ "application/vnd.micrografx.igx" => "igx",
+ "application/vnd.mif" => "mif",
+ "application/vnd.mobius.daf" => "daf",
+ "application/vnd.mobius.dis" => "dis",
+ "application/vnd.mobius.mbk" => "mbk",
+ "application/vnd.mobius.mqy" => "mqy",
+ "application/vnd.mobius.msl" => "msl",
+ "application/vnd.mobius.plc" => "plc",
+ "application/vnd.mobius.txf" => "txf",
+ "application/vnd.mophun.application" => "mpn",
+ "application/vnd.mophun.certificate" => "mpc",
+ "application/vnd.mozilla.xul+xml" => "xul",
+ "application/vnd.ms-artgalry" => "cil",
+ "application/vnd.ms-cab-compressed" => "cab",
+ "application/vnd.ms-excel" => "xls",
+ "application/vnd.ms-excel.addin.macroenabled.12" => "xlam",
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12" => "xlsb",
+ "application/vnd.ms-excel.sheet.macroenabled.12" => "xlsm",
+ "application/vnd.ms-excel.template.macroenabled.12" => "xltm",
+ "application/vnd.ms-fontobject" => "eot",
+ "application/vnd.ms-htmlhelp" => "chm",
+ "application/vnd.ms-ims" => "ims",
+ "application/vnd.ms-lrm" => "lrm",
+ "application/vnd.ms-officetheme" => "thmx",
+ "application/vnd.ms-pki.seccat" => "cat",
+ "application/vnd.ms-pki.stl" => "stl",
+ "application/vnd.ms-powerpoint" => "ppt",
+ "application/vnd.ms-powerpoint.addin.macroenabled.12" => "ppam",
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12" => "pptm",
+ "application/vnd.ms-powerpoint.slide.macroenabled.12" => "sldm",
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12" => "ppsm",
+ "application/vnd.ms-powerpoint.template.macroenabled.12" => "potm",
+ "application/vnd.ms-project" => "mpp",
+ "application/vnd.ms-word.document.macroenabled.12" => "docm",
+ "application/vnd.ms-word.template.macroenabled.12" => "dotm",
+ "application/vnd.ms-works" => "wps",
+ "application/vnd.ms-wpl" => "wpl",
+ "application/vnd.ms-xpsdocument" => "xps",
+ "application/vnd.mseq" => "mseq",
+ "application/vnd.musician" => "mus",
+ "application/vnd.muvee.style" => "msty",
+ "application/vnd.neurolanguage.nlu" => "nlu",
+ "application/vnd.noblenet-directory" => "nnd",
+ "application/vnd.noblenet-sealer" => "nns",
+ "application/vnd.noblenet-web" => "nnw",
+ "application/vnd.nokia.n-gage.data" => "ngdat",
+ "application/vnd.nokia.n-gage.symbian.install" => "n-gage",
+ "application/vnd.nokia.radio-preset" => "rpst",
+ "application/vnd.nokia.radio-presets" => "rpss",
+ "application/vnd.novadigm.edm" => "edm",
+ "application/vnd.novadigm.edx" => "edx",
+ "application/vnd.novadigm.ext" => "ext",
+ "application/vnd.oasis.opendocument.chart" => "odc",
+ "application/vnd.oasis.opendocument.chart-template" => "otc",
+ "application/vnd.oasis.opendocument.database" => "odb",
+ "application/vnd.oasis.opendocument.formula" => "odf",
+ "application/vnd.oasis.opendocument.formula-template" => "odft",
+ "application/vnd.oasis.opendocument.graphics" => "odg",
+ "application/vnd.oasis.opendocument.graphics-template" => "otg",
+ "application/vnd.oasis.opendocument.image" => "odi",
+ "application/vnd.oasis.opendocument.image-template" => "oti",
+ "application/vnd.oasis.opendocument.presentation" => "odp",
+ "application/vnd.oasis.opendocument.presentation-template" => "otp",
+ "application/vnd.oasis.opendocument.spreadsheet" => "ods",
+ "application/vnd.oasis.opendocument.spreadsheet-template" => "ots",
+ "application/vnd.oasis.opendocument.text" => "odt",
+ "application/vnd.oasis.opendocument.text-master" => "odm",
+ "application/vnd.oasis.opendocument.text-template" => "ott",
+ "application/vnd.oasis.opendocument.text-web" => "oth",
+ "application/vnd.olpc-sugar" => "xo",
+ "application/vnd.oma.dd2+xml" => "dd2",
+ "application/vnd.openofficeorg.extension" => "oxt",
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation" => "pptx",
+ "application/vnd.openxmlformats-officedocument.presentationml.slide" => "sldx",
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow" => "ppsx",
+ "application/vnd.openxmlformats-officedocument.presentationml.template" => "potx",
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" => "xlsx",
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template" => "xltx",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document" => "docx",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template" => "dotx",
+ "application/vnd.osgeo.mapguide.package" => "mgp",
+ "application/vnd.osgi.dp" => "dp",
+ "application/vnd.palm" => "pdb",
+ "application/vnd.pawaafile" => "paw",
+ "application/vnd.pg.format" => "str",
+ "application/vnd.pg.osasli" => "ei6",
+ "application/vnd.picsel" => "efif",
+ "application/vnd.pmi.widget" => "wg",
+ "application/vnd.pocketlearn" => "plf",
+ "application/vnd.powerbuilder6" => "pbd",
+ "application/vnd.previewsystems.box" => "box",
+ "application/vnd.proteus.magazine" => "mgz",
+ "application/vnd.publishare-delta-tree" => "qps",
+ "application/vnd.pvi.ptid1" => "ptid",
+ "application/vnd.quark.quarkxpress" => "qxd",
+ "application/vnd.realvnc.bed" => "bed",
+ "application/vnd.recordare.musicxml" => "mxl",
+ "application/vnd.recordare.musicxml+xml" => "musicxml",
+ "application/vnd.rig.cryptonote" => "cryptonote",
+ "application/vnd.rim.cod" => "cod",
+ "application/vnd.rn-realmedia" => "rm",
+ "application/vnd.route66.link66+xml" => "link66",
+ "application/vnd.sailingtracker.track" => "st",
+ "application/vnd.seemail" => "see",
+ "application/vnd.sema" => "sema",
+ "application/vnd.semd" => "semd",
+ "application/vnd.semf" => "semf",
+ "application/vnd.shana.informed.formdata" => "ifm",
+ "application/vnd.shana.informed.formtemplate" => "itp",
+ "application/vnd.shana.informed.interchange" => "iif",
+ "application/vnd.shana.informed.package" => "ipk",
+ "application/vnd.simtech-mindmapper" => "twd",
+ "application/vnd.smaf" => "mmf",
+ "application/vnd.smart.teacher" => "teacher",
+ "application/vnd.solent.sdkm+xml" => "sdkm",
+ "application/vnd.spotfire.dxp" => "dxp",
+ "application/vnd.spotfire.sfs" => "sfs",
+ "application/vnd.stardivision.calc" => "sdc",
+ "application/vnd.stardivision.draw" => "sda",
+ "application/vnd.stardivision.impress" => "sdd",
+ "application/vnd.stardivision.math" => "smf",
+ "application/vnd.stardivision.writer" => "sdw",
+ "application/vnd.stardivision.writer-global" => "sgl",
+ "application/vnd.stepmania.stepchart" => "sm",
+ "application/vnd.sun.xml.calc" => "sxc",
+ "application/vnd.sun.xml.calc.template" => "stc",
+ "application/vnd.sun.xml.draw" => "sxd",
+ "application/vnd.sun.xml.draw.template" => "std",
+ "application/vnd.sun.xml.impress" => "sxi",
+ "application/vnd.sun.xml.impress.template" => "sti",
+ "application/vnd.sun.xml.math" => "sxm",
+ "application/vnd.sun.xml.writer" => "sxw",
+ "application/vnd.sun.xml.writer.global" => "sxg",
+ "application/vnd.sun.xml.writer.template" => "stw",
+ "application/vnd.sus-calendar" => "sus",
+ "application/vnd.svd" => "svd",
+ "application/vnd.symbian.install" => "sis",
+ "application/vnd.syncml+xml" => "xsm",
+ "application/vnd.syncml.dm+wbxml" => "bdm",
+ "application/vnd.syncml.dm+xml" => "xdm",
+ "application/vnd.tao.intent-module-archive" => "tao",
+ "application/vnd.tmobile-livetv" => "tmo",
+ "application/vnd.trid.tpt" => "tpt",
+ "application/vnd.triscape.mxs" => "mxs",
+ "application/vnd.trueapp" => "tra",
+ "application/vnd.ufdl" => "ufd",
+ "application/vnd.uiq.theme" => "utz",
+ "application/vnd.umajin" => "umj",
+ "application/vnd.unity" => "unityweb",
+ "application/vnd.uoml+xml" => "uoml",
+ "application/vnd.vcx" => "vcx",
+ "application/vnd.visio" => "vsd",
+ "application/vnd.visionary" => "vis",
+ "application/vnd.vsf" => "vsf",
+ "application/vnd.wap.wbxml" => "wbxml",
+ "application/vnd.wap.wmlc" => "wmlc",
+ "application/vnd.wap.wmlscriptc" => "wmlsc",
+ "application/vnd.webturbo" => "wtb",
+ "application/vnd.wolfram.player" => "nbp",
+ "application/vnd.wordperfect" => "wpd",
+ "application/vnd.wqd" => "wqd",
+ "application/vnd.wt.stf" => "stf",
+ "application/vnd.xara" => "xar",
+ "application/vnd.xfdl" => "xfdl",
+ "application/vnd.yamaha.hv-dic" => "hvd",
+ "application/vnd.yamaha.hv-script" => "hvs",
+ "application/vnd.yamaha.hv-voice" => "hvp",
+ "application/vnd.yamaha.openscoreformat" => "osf",
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml" => "osfpvg",
+ "application/vnd.yamaha.smaf-audio" => "saf",
+ "application/vnd.yamaha.smaf-phrase" => "spf",
+ "application/vnd.yellowriver-custom-menu" => "cmp",
+ "application/vnd.zul" => "zir",
+ "application/vnd.zzazz.deck+xml" => "zaz",
+ "application/voicexml+xml" => "vxml",
+ "application/widget" => "wgt",
+ "application/winhlp" => "hlp",
+ "application/wsdl+xml" => "wsdl",
+ "application/wspolicy+xml" => "wspolicy",
+ "application/x-7z-compressed" => "7z",
+ "application/x-abiword" => "abw",
+ "application/x-ace-compressed" => "ace",
+ "application/x-authorware-bin" => "aab",
+ "application/x-authorware-map" => "aam",
+ "application/x-authorware-seg" => "aas",
+ "application/x-bcpio" => "bcpio",
+ "application/x-bittorrent" => "torrent",
+ "application/x-bzip" => "bz",
+ "application/x-bzip2" => "bz2",
+ "application/x-cdlink" => "vcd",
+ "application/x-chat" => "chat",
+ "application/x-chess-pgn" => "pgn",
+ "application/x-cpio" => "cpio",
+ "application/x-csh" => "csh",
+ "application/x-debian-package" => "deb",
+ "application/x-director" => "dir",
+ "application/x-doom" => "wad",
+ "application/x-dtbncx+xml" => "ncx",
+ "application/x-dtbook+xml" => "dtb",
+ "application/x-dtbresource+xml" => "res",
+ "application/x-dvi" => "dvi",
+ "application/x-font-bdf" => "bdf",
+ "application/x-font-ghostscript" => "gsf",
+ "application/x-font-linux-psf" => "psf",
+ "application/x-font-otf" => "otf",
+ "application/x-font-pcf" => "pcf",
+ "application/x-font-snf" => "snf",
+ "application/x-font-ttf" => "ttf",
+ "application/x-font-type1" => "pfa",
+ "application/x-font-woff" => "woff",
+ "application/x-futuresplash" => "spl",
+ "application/x-gnumeric" => "gnumeric",
+ "application/x-gtar" => "gtar",
+ "application/x-hdf" => "hdf",
+ "application/x-java-jnlp-file" => "jnlp",
+ "application/x-latex" => "latex",
+ "application/x-mobipocket-ebook" => "prc",
+ "application/x-ms-application" => "application",
+ "application/x-ms-wmd" => "wmd",
+ "application/x-ms-wmz" => "wmz",
+ "application/x-ms-xbap" => "xbap",
+ "application/x-msaccess" => "mdb",
+ "application/x-msbinder" => "obd",
+ "application/x-mscardfile" => "crd",
+ "application/x-msclip" => "clp",
+ "application/x-msdownload" => "exe",
+ "application/x-msmediaview" => "mvb",
+ "application/x-msmetafile" => "wmf",
+ "application/x-msmoney" => "mny",
+ "application/x-mspublisher" => "pub",
+ "application/x-msschedule" => "scd",
+ "application/x-msterminal" => "trm",
+ "application/x-mswrite" => "wri",
+ "application/x-netcdf" => "nc",
+ "application/x-pkcs12" => "p12",
+ "application/x-pkcs7-certificates" => "p7b",
+ "application/x-pkcs7-certreqresp" => "p7r",
+ "application/x-rar-compressed" => "rar",
+ "application/x-sh" => "sh",
+ "application/x-shar" => "shar",
+ "application/x-shockwave-flash" => "swf",
+ "application/x-silverlight-app" => "xap",
+ "application/x-stuffit" => "sit",
+ "application/x-stuffitx" => "sitx",
+ "application/x-sv4cpio" => "sv4cpio",
+ "application/x-sv4crc" => "sv4crc",
+ "application/x-tar" => "tar",
+ "application/x-tcl" => "tcl",
+ "application/x-tex" => "tex",
+ "application/x-tex-tfm" => "tfm",
+ "application/x-texinfo" => "texinfo",
+ "application/x-ustar" => "ustar",
+ "application/x-wais-source" => "src",
+ "application/x-x509-ca-cert" => "der",
+ "application/x-xfig" => "fig",
+ "application/x-xpinstall" => "xpi",
+ "application/xcap-diff+xml" => "xdf",
+ "application/xenc+xml" => "xenc",
+ "application/xhtml+xml" => "xhtml",
+ "application/xml" => "xml",
+ "application/xml-dtd" => "dtd",
+ "application/xop+xml" => "xop",
+ "application/xslt+xml" => "xslt",
+ "application/xspf+xml" => "xspf",
+ "application/xv+xml" => "mxml",
+ "application/yang" => "yang",
+ "application/yin+xml" => "yin",
+ "application/zip" => "zip",
+ "audio/adpcm" => "adp",
+ "audio/basic" => "au",
+ "audio/midi" => "mid",
+ "audio/mp4" => "mp4a",
+ "audio/mpeg" => "mpga",
+ "audio/ogg" => "oga",
+ "audio/vnd.dece.audio" => "uva",
+ "audio/vnd.digital-winds" => "eol",
+ "audio/vnd.dra" => "dra",
+ "audio/vnd.dts" => "dts",
+ "audio/vnd.dts.hd" => "dtshd",
+ "audio/vnd.lucent.voice" => "lvp",
+ "audio/vnd.ms-playready.media.pya" => "pya",
+ "audio/vnd.nuera.ecelp4800" => "ecelp4800",
+ "audio/vnd.nuera.ecelp7470" => "ecelp7470",
+ "audio/vnd.nuera.ecelp9600" => "ecelp9600",
+ "audio/vnd.rip" => "rip",
+ "audio/webm" => "weba",
+ "audio/x-aac" => "aac",
+ "audio/x-aiff" => "aif",
+ "audio/x-mpegurl" => "m3u",
+ "audio/x-ms-wax" => "wax",
+ "audio/x-ms-wma" => "wma",
+ "audio/x-pn-realaudio" => "ram",
+ "audio/x-pn-realaudio-plugin" => "rmp",
+ "audio/x-wav" => "wav",
+ "chemical/x-cdx" => "cdx",
+ "chemical/x-cif" => "cif",
+ "chemical/x-cmdf" => "cmdf",
+ "chemical/x-cml" => "cml",
+ "chemical/x-csml" => "csml",
+ "chemical/x-xyz" => "xyz",
+ "image/bmp" => "bmp",
+ "image/cgm" => "cgm",
+ "image/g3fax" => "g3",
+ "image/gif" => "gif",
+ "image/ief" => "ief",
+ "image/jpeg" => "jpeg",
+ "image/jpeg" => "jpg",
+ "image/ktx" => "ktx",
+ "image/png" => "png",
+ "image/prs.btif" => "btif",
+ "image/svg+xml" => "svg",
+ "image/tiff" => "tiff",
+ "image/vnd.adobe.photoshop" => "psd",
+ "image/vnd.dece.graphic" => "uvi",
+ "image/vnd.djvu" => "djvu",
+ "image/vnd.dvb.subtitle" => "sub",
+ "image/vnd.dwg" => "dwg",
+ "image/vnd.dxf" => "dxf",
+ "image/vnd.fastbidsheet" => "fbs",
+ "image/vnd.fpx" => "fpx",
+ "image/vnd.fst" => "fst",
+ "image/vnd.fujixerox.edmics-mmr" => "mmr",
+ "image/vnd.fujixerox.edmics-rlc" => "rlc",
+ "image/vnd.ms-modi" => "mdi",
+ "image/vnd.net-fpx" => "npx",
+ "image/vnd.wap.wbmp" => "wbmp",
+ "image/vnd.xiff" => "xif",
+ "image/webp" => "webp",
+ "image/x-cmu-raster" => "ras",
+ "image/x-cmx" => "cmx",
+ "image/x-freehand" => "fh",
+ "image/x-icon" => "ico",
+ "image/x-pcx" => "pcx",
+ "image/x-pict" => "pic",
+ "image/x-portable-anymap" => "pnm",
+ "image/x-portable-bitmap" => "pbm",
+ "image/x-portable-graymap" => "pgm",
+ "image/x-portable-pixmap" => "ppm",
+ "image/x-rgb" => "rgb",
+ "image/x-xbitmap" => "xbm",
+ "image/x-xpixmap" => "xpm",
+ "image/x-xwindowdump" => "xwd",
+ "message/rfc822" => "eml",
+ "model/iges" => "igs",
+ "model/mesh" => "msh",
+ "model/vnd.collada+xml" => "dae",
+ "model/vnd.dwf" => "dwf",
+ "model/vnd.gdl" => "gdl",
+ "model/vnd.gtw" => "gtw",
+ "model/vnd.mts" => "mts",
+ "model/vnd.vtu" => "vtu",
+ "model/vrml" => "wrl",
+ "text/calendar" => "ics",
+ "text/css" => "css",
+ "text/csv" => "csv",
+ "text/html" => "html",
+ "text/json" => "json",
+ "text/n3" => "n3",
+ "text/plain" => "txt",
+ "text/plain-bas" => "par",
+ "text/prs.lines.tag" => "dsc",
+ "text/richtext" => "rtx",
+ "text/sgml" => "sgml",
+ "text/tab-separated-values" => "tsv",
+ "text/troff" => "t",
+ "text/turtle" => "ttl",
+ "text/uri-list" => "uri",
+ "text/vnd.curl" => "curl",
+ "text/vnd.curl.dcurl" => "dcurl",
+ "text/vnd.curl.mcurl" => "mcurl",
+ "text/vnd.curl.scurl" => "scurl",
+ "text/vnd.fly" => "fly",
+ "text/vnd.fmi.flexstor" => "flx",
+ "text/vnd.graphviz" => "gv",
+ "text/vnd.in3d.3dml" => "3dml",
+ "text/vnd.in3d.spot" => "spot",
+ "text/vnd.sun.j2me.app-descriptor" => "jad",
+ "text/vnd.wap.wml" => "wml",
+ "text/vnd.wap.wmlscript" => "wmls",
+ "text/x-asm" => "s",
+ "text/x-c" => "c",
+ "text/x-fortran" => "f",
+ "text/x-java-source,java" => "java",
+ "text/x-markdown" => "md",
+ "text/x-pascal" => "p",
+ "text/x-php" => "php",
+ "text/x-setext" => "etx",
+ "text/x-uuencode" => "uu",
+ "text/x-vcalendar" => "vcs",
+ "text/x-vcard" => "vcf",
+ "text/yaml" => "yaml",
+ "video/3gpp" => "3gp",
+ "video/3gpp2" => "3g2",
+ "video/h261" => "h261",
+ "video/h263" => "h263",
+ "video/h264" => "h264",
+ "video/jpeg" => "jpgv",
+ "video/jpm" => "jpm",
+ "video/mj2" => "mj2",
+ "video/mp4" => "mp4",
+ "video/mpeg" => "mpeg",
+ "video/ogg" => "ogv",
+ "video/quicktime" => "qt",
+ "video/vnd.dece.hd" => "uvh",
+ "video/vnd.dece.mobile" => "uvm",
+ "video/vnd.dece.pd" => "uvp",
+ "video/vnd.dece.sd" => "uvs",
+ "video/vnd.dece.video" => "uvv",
+ "video/vnd.fvt" => "fvt",
+ "video/vnd.mpegurl" => "mxu",
+ "video/vnd.ms-playready.media.pyv" => "pyv",
+ "video/vnd.uvvu.mp4" => "uvu",
+ "video/vnd.vivo" => "viv",
+ "video/webm" => "webm",
+ "video/x-f4v" => "f4v",
+ "video/x-fli" => "fli",
+ "video/x-flv" => "flv",
+ "video/x-m4v" => "m4v",
+ "video/x-ms-asf" => "asf",
+ "video/x-ms-wm" => "wm",
+ "video/x-ms-wmv" => "wmv",
+ "video/x-ms-wmx" => "wmx",
+ "video/x-ms-wvx" => "wvx",
+ "video/x-msvideo" => "avi",
+ "video/x-sgi-movie" => "movie",
+ "x-conference/x-cooltalk" => "ice",
#<SHELL_REPLACE
- 'text/sh' => 'sh',
- ];
+ 'text/sh' => 'sh',
+ ];
- public static function fromExt($ext) {
- foreach (self::Types as $t => $e) {
- if ($ext == $e) return $t;
- }
- return null;
- }
+ public static function fromExt($ext) {
+ foreach (self::Types as $t => $e) {
+ if ($ext == $e) return $t;
+ }
+ return null;
+ }
- public static function toExt($type) {
- if (empty(self::Types[$type])) return null;
- return self::Types[$type];
- }
+ public static function toExt($type) {
+ if (empty(self::Types[$type])) return null;
+ return self::Types[$type];
+ }
}
#var_export(Http::msg(500));
--- /dev/null
+3D Crossword Plugin application/vnd.hzn-3d-crossword x3d
+3GP2 video/3gpp2 3g2
+3GPP MSEQ File application/vnd.mseq mseq
+3GP video/3gpp 3gp
+3M Post It Notes application/vnd.3m.post-it-notes pwn
+3rd Generation Partnership Project - Pic Large application/vnd.3gpp.pic-bw-large plb
+3rd Generation Partnership Project - Pic Small application/vnd.3gpp.pic-bw-small psb
+3rd Generation Partnership Project - Pic Var application/vnd.3gpp.pic-bw-var pvb
+3rd Generation Partnership Project - Transaction Capabilities Application Part application/vnd.3gpp2.tcap tcap
+7-Zip application/x-7z-compressed 7z
+AbiWord application/x-abiword abw
+Ace Archive application/x-ace-compressed ace
+Active Content Compression application/vnd.americandynamics.acc acc
+ACU Cobol application/vnd.acucobol acu
+ACU Cobol application/vnd.acucorp atc
+Adaptive differential pulse-code modulation audio/adpcm adp
+Adobe AIR Application application/vnd.adobe.air-application-installer-package+zip air
+Adobe Flash application/x-shockwave-flash swf
+Adobe Flex Project application/vnd.adobe.fxp fxp
+Adobe (Macropedia) Authorware - Binary File application/x-authorware-bin aab
+Adobe (Macropedia) Authorware - Map application/x-authorware-map aam
+Adobe (Macropedia) Authorware - Segment File application/x-authorware-seg aas
+Adobe Portable Document Format application/pdf pdf
+Adobe PostScript Printer Description File Format application/vnd.cups-ppd ppd
+Adobe Shockwave Player application/x-director dir
+Adobe XML Data Package application/vnd.adobe.xdp+xml xdp
+Adobe XML Forms Data Format application/vnd.adobe.xfdf xfdf
+Advanced Audio Coding (AAC) audio/x-aac aac
+Ahead AIR Application application/vnd.ahead.space ahead
+AirZip FileSECURE application/vnd.airzip.filesecure.azf azf
+AirZip FileSECURE application/vnd.airzip.filesecure.azs azs
+Amazon Kindle eBook format application/vnd.amazon.ebook azw
+AmigaDE application/vnd.amiga.ami ami
+Android Package Archive application/vnd.android.package-archive apk
+ANSER-WEB Terminal Client - Certificate Issue application/vnd.anser-web-certificate-issue-initiation cii
+ANSER-WEB Terminal Client - Web Funds Transfer application/vnd.anser-web-funds-transfer-initiation fti
+Antix Game Player application/vnd.antix.game-component atx
+Apple Installer Package application/vnd.apple.installer+xml mpkg
+Application Php text/x-php php
+Applixware application/applixware aw
+Archipelago Lesson Player application/vnd.hhe.lesson-player les
+Arista Networks Software Image application/vnd.aristanetworks.swi swi
+Assembler Source File text/x-asm s
+Atom Publishing Protocol application/atomcat+xml atomcat
+Atom Publishing Protocol Service Document application/atomsvc+xml atomsvc
+Attribute Certificate application/pkix-attr-cert ac
+Audiograph application/vnd.audiograph aep
+Audio Interchange File Format audio/x-aiff aif
+Audio Video Interleave (AVI) video/x-msvideo avi
+AutoCAD DXF image/vnd.dxf dxf
+Autodesk Design Web Format (DWF) model/vnd.dwf dwf
+BAS Partitur Format text/plain-bas par
+Binary CPIO Archive application/x-bcpio bcpio
+Binary Data application/octet-stream bin
+Bitmap Image File image/bmp bmp
+BitTorrent application/x-bittorrent torrent
+Blackberry COD File application/vnd.rim.cod cod
+Blueice Research Multipass application/vnd.blueice.multipass mpm
+BMI Drawing Data Interchange application/vnd.bmi bmi
+Bourne Shell Script application/x-sh sh
+BTIF image/prs.btif btif
+BusinessObjects application/vnd.businessobjects rep
+Bzip2 Archive application/x-bzip2 bz2
+Bzip Archive application/x-bzip bz
+CambridgeSoft Chem Draw application/vnd.chemdraw+xml cdxml
+Cascading Style Sheets (CSS) text/css css
+ChemDraw eXchange file chemical/x-cdx cdx
+Chemical Markup Language chemical/x-cml cml
+Chemical Style Markup Language chemical/x-csml csml
+CIM Database application/vnd.contact.cmsg cdbcmsg
+Claymore Data Files application/vnd.claymore cla
+Clonk Game application/vnd.clonk.c4group c4g
+Close Captioning - Subtitle image/vnd.dvb.subtitle sub
+Cloud Data Management Interface (CDMI) - Capability application/cdmi-capability cdmia
+Cloud Data Management Interface (CDMI) - Contaimer application/cdmi-container cdmic
+Cloud Data Management Interface (CDMI) - Domain application/cdmi-domain cdmid
+Cloud Data Management Interface (CDMI) - Object application/cdmi-object cdmio
+Cloud Data Management Interface (CDMI) - Queue application/cdmi-queue cdmiq
+ClueTrust CartoMobile - Config application/vnd.cluetrust.cartomobile-config c11amc
+ClueTrust CartoMobile - Config Package application/vnd.cluetrust.cartomobile-config-pkg c11amz
+CMU Image image/x-cmu-raster ras
+COLLADA model/vnd.collada+xml dae
+Comma-Seperated Values text/csv csv
+Compact Pro application/mac-compactpro cpt
+Compiled Wireless Markup Language (WMLC) application/vnd.wap.wmlc wmlc
+Computer Graphics Metafile image/cgm cgm
+CoolTalk x-conference/x-cooltalk ice
+Corel Metafile Exchange (CMX) image/x-cmx cmx
+CorelXARA application/vnd.xara xar
+CosmoCaller application/vnd.cosmocaller cmc
+CPIO Archive application/x-cpio cpio
+CrickSoftware - Clicker application/vnd.crick.clicker clkx
+CrickSoftware - Clicker - Keyboard application/vnd.crick.clicker.keyboard clkk
+CrickSoftware - Clicker - Palette application/vnd.crick.clicker.palette clkp
+CrickSoftware - Clicker - Template application/vnd.crick.clicker.template clkt
+CrickSoftware - Clicker - Wordbank application/vnd.crick.clicker.wordbank clkw
+Critical Tools - PERT Chart EXPERT application/vnd.criticaltools.wbs+xml wbs
+CryptoNote application/vnd.rig.cryptonote cryptonote
+Crystallographic Interchange Format chemical/x-cif cif
+CrystalMaker Data Format chemical/x-cmdf cmdf
+C Shell Script application/x-csh csh
+C Source File text/x-c c
+CURL Applet application/vnd.curl.car car
+CURL Applet application/vnd.curl.pcurl pcurl
+Curl - Applet text/vnd.curl curl
+Curl - Detached Applet text/vnd.curl.dcurl dcurl
+Curl - Manifest File text/vnd.curl.mcurl mcurl
+Curl - Source Code text/vnd.curl.scurl scurl
+CU-SeeMe application/cu-seeme cu
+CustomMenu application/vnd.yellowriver-custom-menu cmp
+CU-Writer application/prs.cww cww
+Data Structure for the Security Suitability of Cryptographic Algorithms application/dssc+der dssc
+Data Structure for the Security Suitability of Cryptographic Algorithms application/dssc+xml xdssc
+Debian Package application/x-debian-package deb
+DECE Audio audio/vnd.dece.audio uva
+DECE Graphic image/vnd.dece.graphic uvi
+DECE High Definition Video video/vnd.dece.hd uvh
+DECE Mobile Video video/vnd.dece.mobile uvm
+DECE MP4 video/vnd.uvvu.mp4 uvu
+DECE PD Video video/vnd.dece.pd uvp
+DECE SD Video video/vnd.dece.sd uvs
+DECE Video video/vnd.dece.video uvv
+Device Independent File Format (DVI) application/x-dvi dvi
+Digital Siesmograph Networks - SEED Datafiles application/vnd.fdsn.seed seed
+Digital Talking Book application/x-dtbook+xml dtb
+Digital Talking Book - Resource File application/x-dtbresource+xml res
+Digital Video Broadcasting application/vnd.dvb.ait ait
+Digital Video Broadcasting application/vnd.dvb.service svc
+Digital Winds Music audio/vnd.digital-winds eol
+DjVu image/vnd.djvu djvu
+Document Type Definition application/xml-dtd dtd
+Dolby Meridian Lossless Packing application/vnd.dolby.mlp mlp
+Doom Video Game application/x-doom wad
+DPGraph application/vnd.dpgraph dpg
+DRA Audio audio/vnd.dra dra
+DreamFactory application/vnd.dreamfactory dfac
+DTS Audio audio/vnd.dts dts
+DTS High Definition Audio audio/vnd.dts.hd dtshd
+DWG Drawing image/vnd.dwg dwg
+DynaGeo application/vnd.dynageo geo
+ECMAScript application/ecmascript es
+EcoWin Chart application/vnd.ecowin.chart mag
+EDMICS 2000 image/vnd.fujixerox.edmics-mmr mmr
+EDMICS 2000 image/vnd.fujixerox.edmics-rlc rlc
+Efficient XML Interchange application/exi exi
+EFI Proteus application/vnd.proteus.magazine mgz
+Electronic Publication application/epub+zip epub
+Email Message message/rfc822 eml
+Enliven Viewer application/vnd.enliven nml
+Express by Infoseek application/vnd.is-xpr xpr
+eXtended Image File Format (XIFF) image/vnd.xiff xif
+Extensible Forms Description Language application/vnd.xfdl xfdl
+Extensible MultiModal Annotation application/emma+xml emma
+EZPix Secure Photo Album application/vnd.ezpix-album ez2
+EZPix Secure Photo Album application/vnd.ezpix-package ez3
+FastBid Sheet image/vnd.fastbidsheet fbs
+FAST Search & Transfer ASA image/vnd.fst fst
+FAST Search & Transfer ASA video/vnd.fvt fvt
+FCS Express Layout Link application/vnd.denovo.fcselayout-link fe_launch
+FlashPix image/vnd.fpx fpx
+FlashPix image/vnd.net-fpx npx
+Flash Video video/x-f4v f4v
+Flash Video video/x-flv flv
+FLEXSTOR text/vnd.fmi.flexstor flx
+FLI/FLC Animation Format video/x-fli fli
+FluxTime Clip application/vnd.fluxtime.clip ftc
+Forms Data Format application/vnd.fdf fdf
+Fortran Source File text/x-fortran f
+FrameMaker Interchange Format application/vnd.mif mif
+FrameMaker Normal Format application/vnd.framemaker fm
+FreeHand MX image/x-freehand fh
+Friendly Software Corporation application/vnd.fsc.weblaunch fsc
+Frogans Player application/vnd.frogans.fnc fnc
+Frogans Player application/vnd.frogans.ltf ltf
+Fujitsu Oasys application/vnd.fujitsu.oasys2 oa2
+Fujitsu Oasys application/vnd.fujitsu.oasys3 oa3
+Fujitsu Oasys application/vnd.fujitsu.oasysgp fg5
+Fujitsu Oasys application/vnd.fujitsu.oasys oas
+Fujitsu Oasys application/vnd.fujitsu.oasysprs bh2
+Fujitsu - Xerox 2D CAD Data application/vnd.fujixerox.ddd ddd
+Fujitsu - Xerox DocuWorks application/vnd.fujixerox.docuworks xdw
+Fujitsu - Xerox DocuWorks Binder application/vnd.fujixerox.docuworks.binder xbd
+FutureSplash Animator application/x-futuresplash spl
+FuzzySheet application/vnd.fuzzysheet fzs
+G3 Fax Image image/g3fax g3
+GameMaker ActiveX application/vnd.gmx gmx
+Genomatix Tuxedo Framework application/vnd.genomatix.tuxedo txd
+Gen-Trix Studio model/vnd.gtw gtw
+GeoGebra application/vnd.geogebra.file ggb
+GeoGebra application/vnd.geogebra.tool ggt
+Geometric Description Language (GDL) model/vnd.gdl gdl
+GeoMetry Explorer application/vnd.geometry-explorer gex
+GEONExT and JSXGraph application/vnd.geonext gxt
+GeoplanW application/vnd.geoplan g2w
+GeospacW application/vnd.geospace g3w
+Ghostscript Font application/x-font-ghostscript gsf
+Glyph Bitmap Distribution Format application/x-font-bdf bdf
+Gnumeric application/x-gnumeric gnumeric
+GNU Tar Files application/x-gtar gtar
+GNU Texinfo Document application/x-texinfo texinfo
+Google Earth - KML application/vnd.google-earth.kml+xml kml
+Google Earth - Zipped KML application/vnd.google-earth.kmz kmz
+GrafEq application/vnd.grafeq gqf
+Graphics Interchange Format image/gif gif
+Graphviz text/vnd.graphviz gv
+Groove - Account application/vnd.groove-account gac
+Groove - Help application/vnd.groove-help ghf
+Groove - Identity Message application/vnd.groove-identity-message gim
+Groove - Injector application/vnd.groove-injector grv
+Groove - Tool Message application/vnd.groove-tool-message gtm
+Groove - Tool Template application/vnd.groove-tool-template tpl
+Groove - Vcard application/vnd.groove-vcard vcg
+H.261 video/h261 h261
+H.263 video/h263 h263
+H.264 video/h264 h264
+Hewlett Packard Instant Delivery application/vnd.hp-hpid hpid
+Hewlett-Packard's WebPrintSmart application/vnd.hp-hps hps
+Hierarchical Data Format application/x-hdf hdf
+Hit'n'Mix audio/vnd.rip rip
+Homebanking Computer Interface (HBCI) application/vnd.hbci hbci
+HP-GL/2 and HP RTL application/vnd.hp-hpgl hpgl
+HP Indigo Digital Press - Job Layout Languate application/vnd.hp-jlyt jlt
+HP Printer Command Language application/vnd.hp-pcl pcl
+HV Script application/vnd.yamaha.hv-script hvs
+HV Voice Dictionary application/vnd.yamaha.hv-dic hvd
+HV Voice Parameter application/vnd.yamaha.hv-voice hvp
+Hydrostatix Master Suite application/vnd.hydrostatix.sof-data sfd-hdstx
+Hyperstudio application/hyperstudio stk
+Hypertext Application Language application/vnd.hal+xml hal
+HyperText Markup Language (HTML) text/html html
+IBM DB2 Rights Manager application/vnd.ibm.rights-management irm
+IBM Electronic Media Management System - Secure Container application/vnd.ibm.secure-container sc
+iCalendar text/calendar ics
+ICC profile application/vnd.iccprofile icc
+Icon Image image/x-icon ico
+igLoader application/vnd.igloader igl
+Image Exchange Format image/ief ief
+ImmerVision PURE Players application/vnd.immervision-ivp ivp
+ImmerVision PURE Players application/vnd.immervision-ivu ivu
+IMS Networks application/reginfo+xml rif
+In3D - 3DML text/vnd.in3d.3dml 3dml
+In3D - 3DML text/vnd.in3d.spot spot
+Initial Graphics Exchange Specification (IGES) model/iges igs
+Interactive Geometry Software application/vnd.intergeo i2g
+Interactive Geometry Software Cinderella application/vnd.cinderella cdy
+Intercon FormNet application/vnd.intercon.formnet xpw
+International Society for Advancement of Cytometry application/vnd.isac.fcs fcs
+Internet Protocol Flow Information Export application/ipfix ipfix
+Internet Public Key Infrastructure - Certificate application/pkix-cert cer
+Internet Public Key Infrastructure - Certificate Management Protocole application/pkixcmp pki
+Internet Public Key Infrastructure - Certificate Revocation Lists application/pkix-crl crl
+Internet Public Key Infrastructure - Certification Path application/pkix-pkipath pkipath
+IOCOM Visimeet application/vnd.insors.igm igm
+IP Unplugged Roaming Client application/vnd.ipunplugged.rcprofile rcprofile
+iRepository / Lucidoc Editor application/vnd.irepository.package+xml irp
+J2ME App Descriptor text/vnd.sun.j2me.app-descriptor jad
+Java Archive application/java-archive jar
+Java Bytecode File application/java-vm class
+Java Network Launching Protocol application/x-java-jnlp-file jnlp
+JavaScript application/javascript js
+JavaScript Object Notation (JSON) application/json json
+JavaScript Object Notation (JSON) text/json json
+Java Serialized Object application/java-serialized-object ser
+Java Source File text/x-java-source,java java
+Joda Archive application/vnd.joost.joda-archive joda
+JPEG 2000 Compound Image File Format video/jpm jpm
+JPEG Image image/jpeg jpeg
+JPEG Image image/jpeg jpg
+JPGVideo video/jpeg jpgv
+Kahootz application/vnd.kahootz ktz
+Karaoke on Chipnuts Chipsets application/vnd.chipnuts.karaoke-mmd mmd
+KDE KOffice Office Suite - Karbon application/vnd.kde.karbon karbon
+KDE KOffice Office Suite - KChart application/vnd.kde.kchart chrt
+KDE KOffice Office Suite - Kformula application/vnd.kde.kformula kfo
+KDE KOffice Office Suite - Kivio application/vnd.kde.kivio flw
+KDE KOffice Office Suite - Kontour application/vnd.kde.kontour kon
+KDE KOffice Office Suite - Kpresenter application/vnd.kde.kpresenter kpr
+KDE KOffice Office Suite - Kspread application/vnd.kde.kspread ksp
+KDE KOffice Office Suite - Kword application/vnd.kde.kword kwd
+Kenamea App application/vnd.kenameaapp htke
+Kidspiration application/vnd.kidspiration kia
+Kinar Applications application/vnd.kinar kne
+Kodak Storyshare application/vnd.kodak-descriptor sse
+Laser App Enterprise application/vnd.las.las+xml lasxml
+LaTeX application/x-latex latex
+Life Balance - Desktop Edition application/vnd.llamagraphics.life-balance.desktop lbd
+Life Balance - Exchange Format application/vnd.llamagraphics.life-balance.exchange+xml lbe
+Lightspeed Audio Lab application/vnd.jam jam
+Lotus 1-2-3 application/vnd.lotus-1-2-3 123
+Lotus Approach application/vnd.lotus-approach apr
+Lotus Freelance application/vnd.lotus-freelance pre
+Lotus Notes application/vnd.lotus-notes nsf
+Lotus Organizer application/vnd.lotus-organizer org
+Lotus Screencam application/vnd.lotus-screencam scm
+Lotus Wordpro application/vnd.lotus-wordpro lwp
+Lucent Voice audio/vnd.lucent.voice lvp
+M3U (Multimedia Playlist) audio/x-mpegurl m3u
+M4v video/x-m4v m4v
+Macintosh BinHex 4.0 application/mac-binhex40 hqx
+MacPorts Port System application/vnd.macports.portpkg portpkg
+MapGuide DBXML application/vnd.osgeo.mapguide.package mgp
+MARC21 XML Schema application/marcxml+xml mrcx
+MARC Formats application/marc mrc
+Markdown text/x-markdown md
+Material Exchange Format application/mxf mxf
+Mathematical Markup Language application/mathml+xml mathml
+Mathematica Notebook Player application/vnd.wolfram.player nbp
+Mathematica Notebooks application/mathematica ma
+Mbox database files application/mbox mbox
+MedCalc application/vnd.medcalcdata mc1
+MediaRemote application/vnd.mediastation.cdkey cdkey
+Media Server Control Markup Language application/mediaservercontrol+xml mscml
+Medical Waveform Encoding Format application/vnd.mfer mwf
+Melody Format for Mobile Platform application/vnd.mfmp mfm
+Mesh Data Type model/mesh msh
+Metadata Authority Description Schema application/mads+xml mads
+Metadata Encoding and Transmission Standard application/mets+xml mets
+Metadata Object Description Schema application/mods+xml mods
+Metalink application/metalink4+xml meta4
+Micosoft PowerPoint - Macro-Enabled Template File application/vnd.ms-powerpoint.template.macroenabled.12 potm
+Micosoft Word - Macro-Enabled Document application/vnd.ms-word.document.macroenabled.12 docm
+Micosoft Word - Macro-Enabled Template application/vnd.ms-word.template.macroenabled.12 dotm
+Micro CADAM Helix D&D application/vnd.mcd mcd
+Micrografx application/vnd.micrografx.flo flo
+Micrografx iGrafx Professional application/vnd.micrografx.igx igx
+MICROSEC e-Szign¢ application/vnd.eszigno3+xml es3
+Microsoft Access application/x-msaccess mdb
+Microsoft Advanced Systems Format (ASF) video/x-ms-asf asf
+Microsoft Application application/x-msdownload exe
+Microsoft Artgalry application/vnd.ms-artgalry cil
+Microsoft Cabinet File application/vnd.ms-cab-compressed cab
+Microsoft Class Server application/vnd.ms-ims ims
+Microsoft ClickOnce application/x-ms-application application
+Microsoft Clipboard Clip application/x-msclip clp
+Microsoft Document Imaging Format image/vnd.ms-modi mdi
+Microsoft Embedded OpenType application/vnd.ms-fontobject eot
+Microsoft Excel - Add-In File application/vnd.ms-excel.addin.macroenabled.12 xlam
+Microsoft Excel application/vnd.ms-excel xls
+Microsoft Excel - Binary Workbook application/vnd.ms-excel.sheet.binary.macroenabled.12 xlsb
+Microsoft Excel - Macro-Enabled Template File application/vnd.ms-excel.template.macroenabled.12 xltm
+Microsoft Excel - Macro-Enabled Workbook application/vnd.ms-excel.sheet.macroenabled.12 xlsm
+Microsoft Html Help File application/vnd.ms-htmlhelp chm
+Microsoft Information Card application/x-mscardfile crd
+Microsoft Learning Resource Module application/vnd.ms-lrm lrm
+Microsoft MediaView application/x-msmediaview mvb
+Microsoft Money application/x-msmoney mny
+Microsoft Office Binder application/x-msbinder obd
+Microsoft Office - OOXML - Presentation application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
+Microsoft Office - OOXML - Presentation (Slide) application/vnd.openxmlformats-officedocument.presentationml.slide sldx
+Microsoft Office - OOXML - Presentation (Slideshow) application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
+Microsoft Office - OOXML - Presentation Template application/vnd.openxmlformats-officedocument.presentationml.template potx
+Microsoft Office - OOXML - Spreadsheet application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
+Microsoft Office - OOXML - Spreadsheet Teplate application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
+Microsoft Office - OOXML - Word Document application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
+Microsoft Office - OOXML - Word Document Template application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
+Microsoft Office System Release Theme application/vnd.ms-officetheme thmx
+Microsoft OneNote application/onenote onetoc
+Microsoft PlayReady Ecosystem audio/vnd.ms-playready.media.pya pya
+Microsoft PlayReady Ecosystem Video video/vnd.ms-playready.media.pyv pyv
+Microsoft PowerPoint - Add-in file application/vnd.ms-powerpoint.addin.macroenabled.12 ppam
+Microsoft PowerPoint application/vnd.ms-powerpoint ppt
+Microsoft PowerPoint - Macro-Enabled Open XML Slide application/vnd.ms-powerpoint.slide.macroenabled.12 sldm
+Microsoft PowerPoint - Macro-Enabled Presentation File application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm
+Microsoft PowerPoint - Macro-Enabled Slide Show File application/vnd.ms-powerpoint.slideshow.macroenabled.12 ppsm
+Microsoft Project application/vnd.ms-project mpp
+Microsoft Publisher application/x-mspublisher pub
+Microsoft Schedule+ application/x-msschedule scd
+Microsoft Silverlight application/x-silverlight-app xap
+Microsoft Trust UI Provider - Certificate Trust Link application/vnd.ms-pki.stl stl
+Microsoft Trust UI Provider - Security Catalog application/vnd.ms-pki.seccat cat
+Microsoft Visio application/vnd.visio vsd
+Microsoft Windows Media Audio audio/x-ms-wma wma
+Microsoft Windows Media Audio Redirector audio/x-ms-wax wax
+Microsoft Windows Media Audio/Video Playlist video/x-ms-wmx wmx
+Microsoft Windows Media Player Download Package application/x-ms-wmd wmd
+Microsoft Windows Media Player Playlist application/vnd.ms-wpl wpl
+Microsoft Windows Media Player Skin Package application/x-ms-wmz wmz
+Microsoft Windows Media Video Playlist video/x-ms-wvx wvx
+Microsoft Windows Media Video video/x-ms-wmv wmv
+Microsoft Windows Media video/x-ms-wm wm
+Microsoft Windows Metafile application/x-msmetafile wmf
+Microsoft Windows Terminal Services application/x-msterminal trm
+Microsoft Word application/msword doc
+Microsoft Wordpad application/x-mswrite wri
+Microsoft Works application/vnd.ms-works wps
+Microsoft XAML Browser Application application/x-ms-xbap xbap
+Microsoft XML Paper Specification application/vnd.ms-xpsdocument xps
+MIDI - Musical Instrument Digital Interface audio/midi mid
+MiniPay application/vnd.ibm.minipay mpy
+Mobile Information Device Profile application/vnd.jcp.javame.midlet-rms rms
+MobileTV application/vnd.tmobile-livetv tmo
+Mobipocket application/x-mobipocket-ebook prc
+Mobius Management Systems - Basket file application/vnd.mobius.mbk mbk
+Mobius Management Systems - Distribution Database application/vnd.mobius.dis dis
+Mobius Management Systems - Policy Definition Language File application/vnd.mobius.plc plc
+Mobius Management Systems - Query File application/vnd.mobius.mqy mqy
+Mobius Management Systems - Script Language application/vnd.mobius.msl msl
+Mobius Management Systems - Topic Index File application/vnd.mobius.txf txf
+Mobius Management Systems - UniversalArchive application/vnd.mobius.daf daf
+MO:DCA-P application/vnd.ibm.modcap afp
+mod_fly / fly.cgi text/vnd.fly fly
+Mophun Certificate application/vnd.mophun.certificate mpc
+Mophun VM application/vnd.mophun.application mpn
+Motion JPEG 2000 video/mj2 mj2
+MPEG-21 application/mp21 m21
+MPEG4 application/mp4 mp4
+MPEG-4 Audio audio/mp4 mp4a
+MPEG-4 Video video/mp4 mp4
+MPEG Audio audio/mpeg mpga
+MPEG Url video/vnd.mpegurl mxu
+MPEG Video video/mpeg mpeg
+Multimedia Playlist Unicode application/vnd.apple.mpegurl m3u8
+MUsical Score Interpreted Code Invented for the ASCII designation of Notation application/vnd.musician mus
+Muvee Automatic Video Editing application/vnd.muvee.style msty
+MXML application/xv+xml mxml
+Navigation Control file for XML (for ePub) application/x-dtbncx+xml ncx
+Network Common Data Form (NetCDF) application/x-netcdf nc
+neuroLanguage application/vnd.neurolanguage.nlu nlu
+New Moon Liftoff/DNA application/vnd.dna dna
+N-Gage Game Data application/vnd.nokia.n-gage.data ngdat
+N-Gage Game Installer application/vnd.nokia.n-gage.symbian.install n-gage
+NobleNet Directory application/vnd.noblenet-directory nnd
+NobleNet Sealer application/vnd.noblenet-sealer nns
+NobleNet Web application/vnd.noblenet-web nnw
+Nokia Radio Application - Preset application/vnd.nokia.radio-preset rpst
+Nokia Radio Application - Preset application/vnd.nokia.radio-presets rpss
+Notation3 text/n3 n3
+Novadigm's RADIA and EDM products application/vnd.novadigm.edm edm
+Novadigm's RADIA and EDM products application/vnd.novadigm.edx edx
+Novadigm's RADIA and EDM products application/vnd.novadigm.ext ext
+NpGraphIt application/vnd.flographit gph
+Nuera ECELP 4800 audio/vnd.nuera.ecelp4800 ecelp4800
+Nuera ECELP 7470 audio/vnd.nuera.ecelp7470 ecelp7470
+Nuera ECELP 9600 audio/vnd.nuera.ecelp9600 ecelp9600
+Office Document Architecture application/oda oda
+Ogg application/ogg ogx
+Ogg Audio audio/ogg oga
+Ogg Video video/ogg ogv
+OMA Download Agents application/vnd.oma.dd2+xml dd2
+OpenDocument Chart application/vnd.oasis.opendocument.chart odc
+OpenDocument Chart Template application/vnd.oasis.opendocument.chart-template otc
+OpenDocument Database application/vnd.oasis.opendocument.database odb
+OpenDocument Formula application/vnd.oasis.opendocument.formula odf
+OpenDocument Formula Template application/vnd.oasis.opendocument.formula-template odft
+OpenDocument Graphics application/vnd.oasis.opendocument.graphics odg
+OpenDocument Graphics Template application/vnd.oasis.opendocument.graphics-template otg
+OpenDocument Image application/vnd.oasis.opendocument.image odi
+OpenDocument Image Template application/vnd.oasis.opendocument.image-template oti
+OpenDocument Presentation application/vnd.oasis.opendocument.presentation odp
+OpenDocument Presentation Template application/vnd.oasis.opendocument.presentation-template otp
+OpenDocument Spreadsheet application/vnd.oasis.opendocument.spreadsheet ods
+OpenDocument Spreadsheet Template application/vnd.oasis.opendocument.spreadsheet-template ots
+OpenDocument Text application/vnd.oasis.opendocument.text odt
+OpenDocument Text Master application/vnd.oasis.opendocument.text-master odm
+OpenDocument Text Template application/vnd.oasis.opendocument.text-template ott
+Open Document Text Web application/vnd.oasis.opendocument.text-web oth
+Open eBook Publication Structure application/oebps-package+xml opf
+Open Financial Exchange application/vnd.intu.qbo qbo
+OpenGL Textures (KTX) image/ktx ktx
+OpenOffice - Calc (Spreadsheet) application/vnd.sun.xml.calc sxc
+OpenOffice - Calc Template (Spreadsheet) application/vnd.sun.xml.calc.template stc
+OpenOffice - Draw (Graphics) application/vnd.sun.xml.draw sxd
+OpenOffice - Draw Template (Graphics) application/vnd.sun.xml.draw.template std
+Open Office Extension application/vnd.openofficeorg.extension oxt
+OpenOffice - Impress (Presentation) application/vnd.sun.xml.impress sxi
+OpenOffice - Impress Template (Presentation) application/vnd.sun.xml.impress.template sti
+OpenOffice - Math (Formula) application/vnd.sun.xml.math sxm
+OpenOffice - Writer Template (Text - HTML) application/vnd.sun.xml.writer.template stw
+OpenOffice - Writer (Text - HTML) application/vnd.sun.xml.writer.global sxg
+OpenOffice - Writer (Text - HTML) application/vnd.sun.xml.writer sxw
+Open Score Format application/vnd.yamaha.openscoreformat osf
+OpenType Font File application/x-font-otf otf
+Open Web Media Project - Audio audio/webm weba
+Open Web Media Project - Video video/webm webm
+OSFPVG application/vnd.yamaha.openscoreformat.osfpvg+xml osfpvg
+OSGi Deployment Package application/vnd.osgi.dp dp
+PalmOS Data application/vnd.palm pdb
+Pascal Source File text/x-pascal p
+PawaaFILE application/vnd.pawaafile paw
+PCL 6 Enhanced (Formely PCL XL) application/vnd.hp-pclxl pclxl
+Pcsel eFIF File application/vnd.picsel efif
+PCX Image image/x-pcx pcx
+Photoshop Document image/vnd.adobe.photoshop psd
+PICSRules application/pics-rules prf
+PICT Image image/x-pict pic
+pIRCh application/x-chat chat
+PKCS #10 - Certification Request Standard application/pkcs10 p10
+PKCS #12 - Personal Information Exchange Syntax Standard application/x-pkcs12 p12
+PKCS #7 - Cryptographic Message Syntax Standard application/pkcs7-mime p7m
+PKCS #7 - Cryptographic Message Syntax Standard application/pkcs7-signature p7s
+PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response) application/x-pkcs7-certreqresp p7r
+PKCS #7 - Cryptographic Message Syntax Standard (Certificates) application/x-pkcs7-certificates p7b
+PKCS #8 - Private-Key Information Syntax Standard application/pkcs8 p8
+PocketLearn Viewers application/vnd.pocketlearn plf
+Portable Anymap Image image/x-portable-anymap pnm
+Portable Bitmap Format image/x-portable-bitmap pbm
+Portable Compiled Format application/x-font-pcf pcf
+Portable Font Resource application/font-tdpfr pfr
+Portable Game Notation (Chess Games) application/x-chess-pgn pgn
+Portable Graymap Format image/x-portable-graymap pgm
+Portable Network Graphics (PNG) image/png png
+Portable Pixmap Format image/x-portable-pixmap ppm
+Portable Symmetric Key Container application/pskc+xml pskcxml
+PosML application/vnd.ctc-posml pml
+PostScript application/postscript ai
+PostScript Fonts application/x-font-type1 pfa
+PowerBuilder application/vnd.powerbuilder6 pbd
+Pretty Good Privacy - Signature application/pgp-signature pgp
+Preview Systems ZipLock/VBox application/vnd.previewsystems.box box
+Princeton Video Image application/vnd.pvi.ptid1 ptid
+Pronunciation Lexicon Specification application/pls+xml pls
+Proprietary P&G Standard Reporting System application/vnd.pg.format str
+Proprietary P&G Standard Reporting System application/vnd.pg.osasli ei6
+PRS Lines Tag text/prs.lines.tag dsc
+PSF Fonts application/x-font-linux-psf psf
+PubliShare Objects application/vnd.publishare-delta-tree qps
+Qualcomm's Plaza Mobile Internet application/vnd.pmi.widget wg
+QuarkXpress application/vnd.quark.quarkxpress qxd
+QUASS Stream Player application/vnd.epson.esf esf
+QUASS Stream Player application/vnd.epson.msf msf
+QUASS Stream Player application/vnd.epson.ssf ssf
+QuickAnime Player application/vnd.epson.quickanime qam
+Quicken application/vnd.intu.qfx qfx
+Quicktime Video video/quicktime qt
+RAR Archive application/x-rar-compressed rar
+Real Audio Sound audio/x-pn-realaudio-plugin rmp
+Real Audio Sound audio/x-pn-realaudio ram
+Really Simple Discovery application/rsd+xml rsd
+RealMedia application/vnd.rn-realmedia rm
+RealVNC application/vnd.realvnc.bed bed
+Recordare Applications application/vnd.recordare.musicxml mxl
+Recordare Applications application/vnd.recordare.musicxml+xml musicxml
+Relax NG Compact Syntax application/relax-ng-compact-syntax rnc
+RemoteDocs R-Viewer application/vnd.data-vision.rdz rdz
+Resource Description Framework application/rdf+xml rdf
+RetroPlatform Player application/vnd.cloanto.rp9 rp9
+RhymBox application/vnd.jisp jisp
+Rich Text Format application/rtf rtf
+Rich Text Format (RTF) text/richtext rtx
+ROUTE 66 Location Based Services application/vnd.route66.link66+xml link66
+RSS - Really Simple Syndication application/rss+xml rss
+SailingTracker application/vnd.sailingtracker.track st
+Scalable Vector Graphics (SVG) image/svg+xml svg
+ScheduleUs application/vnd.sus-calendar sus
+Search/Retrieve via URL Response Format application/sru+xml sru
+Secured eMail application/vnd.sema sema
+Secured eMail application/vnd.semd semd
+Secured eMail application/vnd.semf semf
+Secure Electronic Transaction - Payment application/set-payment-initiation setpay
+Secure Electronic Transaction - Registration application/set-registration-initiation setreg
+SeeMail application/vnd.seemail see
+Server-Based Certificate Validation Protocol - Validation Policies - Request application/scvp-vp-request spq
+Server-Based Certificate Validation Protocol - Validation Policies - Response application/scvp-vp-response spp
+Server-Based Certificate Validation Protocol - Validation Request application/scvp-cv-request scq
+Server-Based Certificate Validation Protocol - Validation Response application/scvp-cv-response scs
+Server Normal Format application/x-font-snf snf
+Session Description Protocol application/sdp sdp
+Setext text/x-setext etx
+SGI Movie video/x-sgi-movie movie
+Shana Informed Filler application/vnd.shana.informed.formdata ifm
+Shana Informed Filler application/vnd.shana.informed.formtemplate itp
+Shana Informed Filler application/vnd.shana.informed.interchange iif
+Shana Informed Filler application/vnd.shana.informed.package ipk
+Sharing Transaction Fraud Data application/thraud+xml tfi
+Shell Archive application/x-shar shar
+S Hexdump Format application/shf+xml shf
+Silicon Graphics RGB Bitmap image/x-rgb rgb
+SimpleAnimeLite Player application/vnd.epson.salt slt
+Simply Accounting application/vnd.accpac.simply.aso aso
+Simply Accounting - Data Import application/vnd.accpac.simply.imp imp
+SimTech MindMapper application/vnd.simtech-mindmapper twd
+Sixth Floor Media - CommonSpace application/vnd.commonspace csp
+SMAF Audio application/vnd.yamaha.smaf-audio saf
+SMAF File application/vnd.smaf mmf
+SMAF Phrase application/vnd.yamaha.smaf-phrase spf
+SMART Technologies Apps application/vnd.smart.teacher teacher
+SourceView Document application/vnd.svd svd
+SPARQL - Query application/sparql-query rq
+SPARQL - Results application/sparql-results+xml srx
+Speech Recognition Grammar Specification application/srgs gram
+Speech Recognition Grammar Specification - XML application/srgs+xml grxml
+Speech Synthesis Markup Language application/ssml+xml ssml
+SSEYO Koan Play File application/vnd.koan skp
+Standard Generalized Markup Language (SGML) text/sgml sgml
+StarOffice - Calc application/vnd.stardivision.calc sdc
+StarOffice - Draw application/vnd.stardivision.draw sda
+StarOffice - Impress application/vnd.stardivision.impress sdd
+StarOffice - Math application/vnd.stardivision.math smf
+StarOffice - Writer application/vnd.stardivision.writer sdw
+StarOffice - Writer (Global) application/vnd.stardivision.writer-global sgl
+StepMania application/vnd.stepmania.stepchart sm
+Stuffit Archive application/x-stuffit sit
+Stuffit Archive application/x-stuffitx sitx
+SudokuMagic application/vnd.solent.sdkm+xml sdkm
+Sugar Linux Application Bundle application/vnd.olpc-sugar xo
+Sun Audio - Au file format audio/basic au
+SundaHus WQ application/vnd.wqd wqd
+Symbian Install Package application/vnd.symbian.install sis
+Synchronized Multimedia Integration Language application/smil+xml smi
+SyncML application/vnd.syncml+xml xsm
+SyncML - Device Management application/vnd.syncml.dm+wbxml bdm
+SyncML - Device Management application/vnd.syncml.dm+xml xdm
+Systems Biology Markup Language application/sbml+xml sbml
+System V Release 4 CPIO Archive application/x-sv4cpio sv4cpio
+System V Release 4 CPIO Checksum Data application/x-sv4crc sv4crc
+Tab Seperated Values text/tab-separated-values tsv
+Tagged Image File Format image/tiff tiff
+Tao Intent application/vnd.tao.intent-module-archive tao
+Tar File (Tape Archive) application/x-tar tar
+Tcl Script application/x-tcl tcl
+TeX application/x-tex tex
+TeX Font Metric application/x-tex-tfm tfm
+Text Encoding and Interchange application/tei+xml tei
+Text File text/plain txt
+TIBCO Spotfire application/vnd.spotfire.dxp dxp
+TIBCO Spotfire application/vnd.spotfire.sfs sfs
+Time Stamped Data Envelope application/timestamped-data tsd
+Triscape Map Explorer application/vnd.triscape.mxs mxs
+TRI Systems Config application/vnd.trid.tpt tpt
+troff text/troff t
+True BASIC application/vnd.trueapp tra
+TrueType Font application/x-font-ttf ttf
+Turtle (Terse RDF Triple Language) text/turtle ttl
+UMAJIN application/vnd.umajin umj
+Unique Object Markup Language application/vnd.uoml+xml uoml
+Unity 3d application/vnd.unity unityweb
+Universal Forms Description Language application/vnd.ufdl ufd
+URI Resolution Services text/uri-list uri
+User Interface Quartz - Theme (Symbian) application/vnd.uiq.theme utz
+Ustar (Uniform Standard Tape Archive) application/x-ustar ustar
+UUEncode text/x-uuencode uu
+vCalendar text/x-vcalendar vcs
+vCard text/x-vcard vcf
+Video CD application/x-cdlink vcd
+Viewport+ application/vnd.vsf vsf
+VirtualCatalog application/vnd.vcx vcx
+Virtual Reality Modeling Language model/vrml wrl
+Virtue MTS model/vnd.mts mts
+Virtue VTU model/vnd.vtu vtu
+Visionary application/vnd.visionary vis
+Vivo video/vnd.vivo viv
+Voice Browser Call Control application/ccxml+xml, ccxml
+VoiceXML application/voicexml+xml vxml
+WAIS Source application/x-wais-source src
+WAP Binary XML (WBXML) application/vnd.wap.wbxml wbxml
+WAP Bitamp (WBMP) image/vnd.wap.wbmp wbmp
+Waveform Audio File Format (WAV) audio/x-wav wav
+Web Distributed Authoring and Versioning application/davmount+xml davmount
+Web Open Font Format application/x-font-woff woff
+WebP Image image/webp webp
+Web Services Policy application/wspolicy+xml wspolicy
+WebTurbo application/vnd.webturbo wtb
+Widget Packaging and XML Configuration application/widget wgt
+WinHelp application/winhlp hlp
+Wireless Markup Language Script (WMLScript) text/vnd.wap.wmlscript wmls
+Wireless Markup Language (WML) text/vnd.wap.wml wml
+WMLScript application/vnd.wap.wmlscriptc wmlsc
+Wordperfect application/vnd.wordperfect wpd
+Worldtalk application/vnd.wt.stf stf
+WSDL - Web Services Description Language application/wsdl+xml wsdl
+X.509 Certificate application/x-x509-ca-cert der
+X BitMap image/x-xbitmap xbm
+Xfig application/x-xfig fig
+XHTML - The Extensible HyperText Markup Language application/xhtml+xml xhtml
+XML-Binary Optimized Packaging application/xop+xml xop
+XML Configuration Access Protocol - XCAP Diff application/xcap-diff+xml xdf
+XML Encryption Syntax and Processing application/xenc+xml xenc
+XML - Extensible Markup Language application/xml xml
+XML Patch Framework application/patch-ops-error+xml xer
+XML Resource Lists application/resource-lists+xml rl
+XML Resource Lists application/rls-services+xml rs
+XML Resource Lists Diff application/resource-lists-diff+xml rld
+XML Transformations application/xslt+xml xslt
+XPInstall - Mozilla application/x-xpinstall xpi
+X PixMap image/x-xpixmap xpm
+XSPF - XML Shareable Playlist Format application/xspf+xml xspf
+XUL - XML User Interface Language application/vnd.mozilla.xul+xml xul
+X Window Dump image/x-xwindowdump xwd
+XYZ File Format chemical/x-xyz xyz
+YAML Ain't Markup Language / Yet Another Markup Language text/yaml yaml
+YANG Data Modeling Language application/yang yang
+YIN (YANG - XML) application/yin+xml yin
+Zip Archive application/zip zip
+Z.U.L. Geometry application/vnd.zul zir
+ZVUE Media Manager application/vnd.handheld-entertainment+xml zmm
+Zzazz Deck application/vnd.zzazz.deck+xml zaz