Commit c4671538 by Daniel Mendler

Merge pull request #9 from iangreenleaf/updated_mime_table

Regenerated tables from mime database v1.0
parents ed808df6 67e375d0
......@@ -34,6 +34,7 @@ class MimeMagic
'ani' => 'application/x-navi-animation',
'anx' => 'application/annodex',
'ape' => 'audio/x-ape',
'apk' => 'application/vnd.android.package-archive',
'arj' => 'application/x-arj',
'arw' => 'image/x-sony-arw',
'as' => 'application/x-applix-spreadsheet',
......@@ -65,6 +66,7 @@ class MimeMagic
'c' => 'text/x-c++src',
'c++' => 'text/x-c++src',
'cab' => 'application/vnd.ms-cab-compressed',
'cap' => 'application/vnd.tcpdump.pcap',
'cb7' => 'application/x-cb7',
'cbl' => 'text/x-cobol',
'cbr' => 'application/x-cbr',
......@@ -76,7 +78,7 @@ class MimeMagic
'cer' => 'application/pkix-cert',
'cert' => 'application/x-x509-ca-cert',
'cgm' => 'image/cgm',
'chm' => 'application/x-chm',
'chm' => 'application/vnd.ms-htmlhelp',
'chrt' => 'application/x-kchart',
'class' => 'application/x-java',
'clpi' => 'video/mp2t',
......@@ -116,12 +118,15 @@ class MimeMagic
'djv' => 'image/vnd.djvu',
'djvu' => 'image/vnd.djvu',
'dmg' => 'application/x-apple-diskimage',
'dmp' => 'application/vnd.tcpdump.pcap',
'dng' => 'image/x-adobe-dng',
'doc' => 'application/msword',
'docbook' => 'application/docbook+xml',
'docm' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'dot' => 'application/msword-template',
'dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
'dsl' => 'text/x-dsl',
'dtd' => 'application/xml-dtd',
'dtx' => 'text/x-tex',
......@@ -181,7 +186,7 @@ class MimeMagic
'g3' => 'image/fax-g3',
'gb' => 'application/x-gameboy-rom',
'gba' => 'application/x-gba-rom',
'gcrd' => 'text/directory',
'gcrd' => 'text/vcard',
'ged' => 'application/x-gedcom',
'gedcom' => 'application/x-gedcom',
'gem' => 'application/x-tar',
......@@ -304,6 +309,7 @@ class MimeMagic
'lzo' => 'application/x-lzop',
'm' => 'text/x-objcsrc',
'm15' => 'audio/x-mod',
'm1u' => 'video/vnd.mpegurl',
'm2t' => 'video/mp2t',
'm2ts' => 'video/mp2t',
'm3u' => 'audio/x-mpegurl',
......@@ -311,16 +317,19 @@ class MimeMagic
'm4' => 'application/x-m4',
'm4a' => 'audio/mp4',
'm4b' => 'audio/x-m4b',
'm4u' => 'video/vnd.mpegurl',
'm4v' => 'video/mp4',
'mab' => 'application/x-markaby',
'man' => 'application/x-troff-man',
'manifest' => 'text/cache-manifest',
'markdown' => 'text/x-markdown',
'mbox' => 'application/mbox',
'md' => 'application/x-genesis-rom',
'md' => 'text/x-markdown',
'mdb' => 'application/vnd.ms-access',
'mdi' => 'image/vnd.ms-modi',
'me' => 'text/x-troff-me',
'med' => 'audio/x-mod',
'meta4' => 'application/metalink4+xml',
'metalink' => 'application/metalink+xml',
'mgp' => 'application/x-magicpoint',
'mid' => 'audio/midi',
......@@ -328,6 +337,7 @@ class MimeMagic
'mif' => 'application/x-mif',
'minipsf' => 'audio/x-minipsf',
'mka' => 'audio/x-matroska',
'mkd' => 'text/x-markdown',
'mkv' => 'video/x-matroska',
'ml' => 'text/x-ocaml',
'mli' => 'text/x-ocaml',
......@@ -337,6 +347,7 @@ class MimeMagic
'mng' => 'video/x-mng',
'mo' => 'application/x-gettext-translation',
'mo3' => 'audio/x-mo3',
'mobi' => 'application/x-mobipocket-ebook',
'moc' => 'text/x-moc',
'mod' => 'audio/x-mod',
'mof' => 'text/x-mof',
......@@ -366,6 +377,7 @@ class MimeMagic
'mts' => 'video/mp2t',
'mup' => 'text/x-mup',
'mxf' => 'application/mxf',
'mxu' => 'video/vnd.mpegurl',
'n64' => 'application/x-n64-rom',
'nb' => 'application/mathematica',
'nc' => 'application/x-netcdf',
......@@ -376,6 +388,7 @@ class MimeMagic
'not' => 'text/x-mup',
'nsc' => 'application/x-netshow-channel',
'nsv' => 'video/x-nsv',
'nzb' => 'application/x-nzb',
'o' => 'application/x-object',
'obj' => 'application/x-tgif',
'ocl' => 'text/x-ocl',
......@@ -422,6 +435,7 @@ class MimeMagic
'pas' => 'text/x-pascal',
'patch' => 'text/x-patch',
'pbm' => 'image/x-portable-bitmap',
'pcap' => 'application/vnd.tcpdump.pcap',
'pcd' => 'image/x-photo-cd',
'pcf' => 'application/x-font-pcf',
'pcf.gz' => 'application/x-font-pcf',
......@@ -446,6 +460,8 @@ class MimeMagic
'php' => 'application/x-php',
'php3' => 'application/x-php',
'php4' => 'application/x-php',
'php5' => 'application/x-php',
'phps' => 'application/x-php',
'pict' => 'image/x-pict',
'pict1' => 'image/x-pict',
'pict2' => 'image/x-pict',
......@@ -463,14 +479,18 @@ class MimeMagic
'po' => 'text/x-gettext-translation',
'por' => 'application/x-spss-por',
'pot' => 'application/vnd.ms-powerpoint',
'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
'ppm' => 'image/x-portable-pixmap',
'pps' => 'application/vnd.ms-powerpoint',
'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
'ppt' => 'application/vnd.ms-powerpoint',
'pptm' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'prc' => 'application/x-palm-database',
'prc' => 'application/x-mobipocket-ebook',
'ps' => 'application/postscript',
'ps.bz2' => 'application/x-bzpostscript',
'ps.gz' => 'application/x-gzpostscript',
......@@ -485,6 +505,7 @@ class MimeMagic
'pyc' => 'application/x-python-bytecode',
'pyo' => 'application/x-python-bytecode',
'qif' => 'application/x-qw',
'qml' => 'text/x-qml',
'qt' => 'video/quicktime',
'qtif' => 'image/x-quicktime',
'qtl' => 'application/x-quicktime-media-link',
......@@ -500,7 +521,7 @@ class MimeMagic
'rdf' => 'application/rdf+xml',
'rdfs' => 'application/rdf+xml',
'reg' => 'text/x-ms-regedit',
'rej' => 'application/x-reject',
'rej' => 'text/x-reject',
'rgb' => 'image/x-rgb',
'rle' => 'image/rle',
'rm' => 'application/vnd.rn-realmedia',
......@@ -525,6 +546,7 @@ class MimeMagic
'sam' => 'application/x-amipro',
'sami' => 'application/x-sami',
'sav' => 'application/x-spss-sav',
'scala' => 'text/x-scala',
'scm' => 'text/x-scheme',
'sda' => 'application/vnd.stardivision.draw',
'sdc' => 'application/vnd.stardivision.calc',
......@@ -551,6 +573,8 @@ class MimeMagic
'sk' => 'image/x-skencil',
'sk1' => 'image/x-skencil',
'skr' => 'application/pgp-keys',
'sldm' => 'application/vnd.ms-powerpoint.slide.macroEnabled.12',
'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
'slk' => 'text/spreadsheet',
'smaf' => 'application/x-smaf',
'smc' => 'application/x-snes-rom',
......@@ -572,6 +596,7 @@ class MimeMagic
'src' => 'application/x-wais-source',
'srf' => 'image/x-sony-srf',
'srt' => 'application/x-subrip',
'ss' => 'text/x-scheme',
'ssa' => 'text/x-ssa',
'stc' => 'application/vnd.sun.xml.calc.template',
'std' => 'application/vnd.sun.xml.draw.template',
......@@ -643,15 +668,15 @@ class MimeMagic
'uil' => 'text/x-uil',
'ult' => 'audio/x-mod',
'uni' => 'audio/x-mod',
'uri' => 'text/x-uri',
'url' => 'text/x-uri',
'url' => 'application/x-mswinurl',
'ustar' => 'application/x-ustar',
'v' => 'text/x-verilog',
'vala' => 'text/x-vala',
'vapi' => 'text/x-vala',
'vcf' => 'text/directory',
'vcard' => 'text/vcard',
'vcf' => 'text/vcard',
'vcs' => 'text/calendar',
'vct' => 'text/directory',
'vct' => 'text/vcard',
'vda' => 'image/x-tga',
'vhd' => 'text/x-vhdl',
'vhdl' => 'text/x-vhdl',
......@@ -661,7 +686,13 @@ class MimeMagic
'vob' => 'video/mpeg',
'voc' => 'audio/x-voc',
'vor' => 'application/vnd.stardivision.writer',
'vst' => 'image/x-tga',
'vrm' => 'model/vrml',
'vrml' => 'model/vrml',
'vsd' => 'application/vnd.visio',
'vss' => 'application/vnd.visio',
'vst' => 'application/vnd.visio',
'vsw' => 'application/vnd.visio',
'vtt' => 'text/vtt',
'wav' => 'audio/x-wav',
'wax' => 'audio/x-ms-asx',
'wb1' => 'application/x-quattropro',
......@@ -693,10 +724,12 @@ class MimeMagic
'wps' => 'application/vnd.ms-works',
'wri' => 'application/x-mswrite',
'wrl' => 'model/vrml',
'wsgi' => 'text/x-python',
'wv' => 'audio/x-wavpack',
'wvc' => 'audio/x-wavpack-correction',
'wvp' => 'audio/x-wavpack',
'wvx' => 'audio/x-ms-asx',
'wwf' => 'application/x-wwf',
'x3f' => 'image/x-sigma-x3f',
'xac' => 'application/x-gnucash',
'xbel' => 'application/x-xbel',
......@@ -708,6 +741,7 @@ class MimeMagic
'xhtml' => 'application/xhtml+xml',
'xi' => 'audio/x-xi',
'xla' => 'application/vnd.ms-excel',
'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
'xlc' => 'application/vnd.ms-excel',
'xld' => 'application/vnd.ms-excel',
'xlf' => 'application/x-xliff',
......@@ -715,9 +749,12 @@ class MimeMagic
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsm' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlt' => 'application/vnd.ms-excel',
'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
'xlw' => 'application/vnd.ms-excel',
'xm' => 'audio/x-xm',
'xmf' => 'audio/x-xmf',
......@@ -756,6 +793,7 @@ class MimeMagic
'application/mathml+xml' => [%w(mml), %w(application/xml), "MathML document"],
'application/mbox' => [%w(mbox), %w(text/plain), "mailbox file"],
'application/metalink+xml' => [%w(metalink), %w(application/xml), "Metalink file"],
'application/metalink4+xml' => [%w(meta4), %w(application/xml), "Metalink file"],
'application/msword' => [%w(doc), %w(application/x-ole-storage), "Word document"],
'application/msword-template' => [%w(dot), %w(application/msword), "Word template"],
'application/mxf' => [%w(mxf), %w(), "MXF video"],
......@@ -781,6 +819,7 @@ class MimeMagic
'application/sdp' => [%w(sdp), %w(), "SDP multicast stream file"],
'application/sieve' => [%w(siv), %w(application/xml), "Sieve mail filter script"],
'application/smil' => [%w(kino smi smil sml), %w(application/xml), "SMIL document"],
'application/vnd.android.package-archive' => [%w(apk), %w(application/x-java-archive), "Android package"],
'application/vnd.apple.mpegurl' => [%w(m3u m3u8), %w(), "HTTP Live Streaming playlist"],
'application/vnd.corel-draw' => [%w(cdr), %w(), "Corel Draw drawing"],
'application/vnd.emusic-emusic_package' => [%w(emp), %w(), "eMusic download package"],
......@@ -794,8 +833,20 @@ class MimeMagic
'application/vnd.ms-access' => [%w(mdb), %w(), "JET database"],
'application/vnd.ms-cab-compressed' => [%w(cab), %w(), "Microsoft Cabinet archive"],
'application/vnd.ms-excel' => [%w(xla xlc xld xll xlm xls xlt xlw), %w(), "Excel spreadsheet"],
'application/vnd.ms-excel.addin.macroEnabled.12' => [%w(xlam), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), "Excel add-in"],
'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => [%w(xlsb), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), "Excel 2007 binary spreadsheet"],
'application/vnd.ms-excel.sheet.macroEnabled.12' => [%w(xlsm), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), "Excel macro-enabled spreadsheet"],
'application/vnd.ms-excel.template.macroEnabled.12' => [%w(xltm), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.template), "Excel macro-enabled spreadsheet template"],
'application/vnd.ms-htmlhelp' => [%w(chm), %w(), "CHM document"],
'application/vnd.ms-powerpoint' => [%w(pot pps ppt ppz), %w(), "PowerPoint presentation"],
'application/vnd.ms-powerpoint.addin.macroEnabled.12' => [%w(ppam), %w(), "PowerPoint add-in"],
'application/vnd.ms-powerpoint.presentation.macroEnabled.12' => [%w(pptm), %w(application/vnd.openxmlformats-officedocument.presentationml.presentation), "PowerPoint macro-enabled presentation"],
'application/vnd.ms-powerpoint.slide.macroEnabled.12' => [%w(sldm), %w(application/vnd.openxmlformats-officedocument.presentationml.slide), "PowerPoint macro-enabled slide"],
'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' => [%w(ppsm), %w(application/vnd.openxmlformats-officedocument.presentationml.slideshow), "PowerPoint macro-enabled presentation"],
'application/vnd.ms-powerpoint.template.macroEnabled.12' => [%w(potm), %w(application/vnd.openxmlformats-officedocument.presentationml.template), "PowerPoint macro-enabled presentation template"],
'application/vnd.ms-tnef' => [%w(tnef tnf), %w(), "TNEF message"],
'application/vnd.ms-word.document.macroEnabled.12' => [%w(docm), %w(application/vnd.openxmlformats-officedocument.wordprocessingml.document), "Word macro-enabled document"],
'application/vnd.ms-word.template.macroEnabled.12' => [%w(dotm), %w(application/vnd.openxmlformats-officedocument.wordprocessingml.template), "Word macro-enabled document template"],
'application/vnd.ms-works' => [%w(wcm wdb wks wps), %w(application/x-ole-storage), "Microsoft Works document"],
'application/vnd.ms-wpl' => [%w(wpl), %w(), "WPL playlist"],
'application/vnd.oasis.opendocument.chart' => [%w(odc), %w(application/zip), "ODC chart"],
......@@ -819,10 +870,14 @@ class MimeMagic
'application/vnd.oasis.opendocument.text-template' => [%w(ott), %w(application/zip), "ODT template"],
'application/vnd.oasis.opendocument.text-web' => [%w(oth), %w(application/zip), "OTH template"],
'application/vnd.openofficeorg.extension' => [%w(oxt), %w(application/zip), "OpenOffice.org extension"],
'application/vnd.openxmlformats-officedocument.presentationml.presentation' => [%w(pptm pptx), %w(application/zip), "PowerPoint 2007 presentation"],
'application/vnd.openxmlformats-officedocument.presentationml.presentation' => [%w(pptx), %w(application/zip), "PowerPoint 2007 presentation"],
'application/vnd.openxmlformats-officedocument.presentationml.slide' => [%w(sldx), %w(application/zip), "PowerPoint 2007 slide"],
'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => [%w(ppsx), %w(application/zip), "PowerPoint 2007 show"],
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => [%w(xlsm xlsx), %w(application/zip), "Excel 2007 spreadsheet"],
'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => [%w(docm docx), %w(application/zip), "Word 2007 document"],
'application/vnd.openxmlformats-officedocument.presentationml.template' => [%w(potx), %w(application/zip), "PowerPoint 2007 presentation template"],
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => [%w(xlsx), %w(application/zip), "Excel 2007 spreadsheet"],
'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => [%w(xltx), %w(application/zip), "Excel 2007 spreadsheet template"],
'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => [%w(docx), %w(application/zip), "Word 2007 document"],
'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => [%w(dotx), %w(application/zip), "Word 2007 document template"],
'application/vnd.rn-realmedia' => [%w(rm rmj rmm rms rmvb rmx), %w(), "RealMedia document"],
'application/vnd.stardivision.calc' => [%w(sdc), %w(), "StarCalc spreadsheet"],
'application/vnd.stardivision.chart' => [%w(sds), %w(), "StarChart chart"],
......@@ -842,6 +897,8 @@ class MimeMagic
'application/vnd.sun.xml.writer.global' => [%w(sxg), %w(application/zip), "OpenOffice Writer global document"],
'application/vnd.sun.xml.writer.template' => [%w(stw), %w(application/zip), "OpenOffice Writer template"],
'application/vnd.symbian.install' => [%w(sis), %w(), "SIS package"],
'application/vnd.tcpdump.pcap' => [%w(cap dmp pcap), %w(), "Network Packet Capture"],
'application/vnd.visio' => [%w(vsd vss vst vsw), %w(application/x-ole-storage), "Microsoft Visio document"],
'application/vnd.wordperfect' => [%w(wp wp4 wp5 wp6 wpd wpp), %w(), "WordPerfect document"],
'application/x-7z-compressed' => [%w(7z), %w(), "7-zip archive"],
'application/x-abiword' => [%w(abw abw.crashed abw.gz zabw), %w(application/xml), "AbiWord document"],
......@@ -871,7 +928,6 @@ class MimeMagic
'application/x-cd-image' => [%w(iso iso9660), %w(), "raw CD image"],
'application/x-cdrdao-toc' => [%w(toc), %w(text/plain), "CD Table Of Contents"],
'application/x-chess-pgn' => [%w(pgn), %w(text/plain), "PGN chess game notation"],
'application/x-chm' => [%w(chm), %w(), "CHM document"],
'application/x-cisco-vpn-settings' => [%w(pcf), %w(), "Cisco VPN Settings"],
'application/x-compress' => [%w(z), %w(), "UNIX-compressed file"],
'application/x-compressed-tar' => [%w(tar.gz taz tgz), %w(), "Tar archive (gzip-compressed)"],
......@@ -904,7 +960,7 @@ class MimeMagic
'application/x-gameboy-rom' => [%w(gb), %w(), "Game Boy ROM"],
'application/x-gba-rom' => [%w(gba), %w(), "Game Boy Advance ROM"],
'application/x-gedcom' => [%w(ged gedcom), %w(), "GEDCOM family history"],
'application/x-genesis-rom' => [%w(gen md), %w(), "Genesis ROM"],
'application/x-genesis-rom' => [%w(gen), %w(), "Genesis ROM"],
'application/x-gettext-translation' => [%w(gmo mo), %w(), "translated messages (machine-readable)"],
'application/x-glade' => [%w(glade), %w(application/xml), "Glade project"],
'application/x-gnucash' => [%w(gnc gnucash xac), %w(), "GnuCash financial data"],
......@@ -923,7 +979,7 @@ class MimeMagic
'application/x-ica' => [%w(ica), %w(text/plain), "Citrix ICA settings file"],
'application/x-it87' => [%w(it87), %w(text/plain), "IT 8.7 color calibration file"],
'application/x-java' => [%w(class), %w(), "Java class"],
'application/x-java-archive' => [%w(jar), %w(), "Java archive"],
'application/x-java-archive' => [%w(jar), %w(application/zip), "Java archive"],
'application/x-java-jce-keystore' => [%w(jceks), %w(), "Java JCE keystore"],
'application/x-java-jnlp-file' => [%w(jnlp), %w(application/xml), "JNLP file"],
'application/x-java-keystore' => [%w(jks ks), %w(), "Java keystore"],
......@@ -958,9 +1014,11 @@ class MimeMagic
'application/x-magicpoint' => [%w(mgp), %w(text/plain), "MagicPoint presentation"],
'application/x-markaby' => [%w(mab), %w(application/x-ruby), "Markaby script"],
'application/x-mif' => [%w(mif), %w(), "Adobe FrameMaker MIF document"],
'application/x-mobipocket-ebook' => [%w(mobi prc), %w(application/x-palm-database), "Mobipocket e-book"],
'application/x-ms-dos-executable' => [%w(exe), %w(), "DOS/Windows executable"],
'application/x-ms-wim' => [%w(swm wim), %w(), "Windows Imaging Format Disk Image"],
'application/x-msi' => [%w(msi), %w(application/x-ole-storage), "Windows Installer package"],
'application/x-mswinurl' => [%w(url), %w(), "Internet shortcut"],
'application/x-mswrite' => [%w(wri), %w(), "WRI document"],
'application/x-msx-rom' => [%w(msx), %w(), "MSX ROM"],
'application/x-n64-rom' => [%w(n64), %w(), "Nintendo64 ROM"],
......@@ -969,13 +1027,14 @@ class MimeMagic
'application/x-netcdf' => [%w(cdf nc), %w(), "Unidata NetCDF document"],
'application/x-netshow-channel' => [%w(nsc), %w(video/x-ms-asf), "Windows Media Station file"],
'application/x-nintendo-ds-rom' => [%w(nds), %w(), "Nintendo DS ROM"],
'application/x-nzb' => [%w(nzb), %w(application/xml), "NewzBin usenet index"],
'application/x-object' => [%w(o), %w(), "object code"],
'application/x-oleo' => [%w(oleo), %w(), "GNU Oleo spreadsheet"],
'application/x-pak' => [%w(pak), %w(), "PAK archive"],
'application/x-palm-database' => [%w(pdb prc), %w(), "Palm OS database"],
'application/x-par2' => [%w(par2 par2), %w(), "Parchive archive"],
'application/x-perl' => [%w(al perl pl pm), %w(application/x-executable text/plain), "Perl script"],
'application/x-php' => [%w(php php3 php4), %w(text/plain), "PHP script"],
'application/x-php' => [%w(php php3 php4 php5 phps), %w(text/plain), "PHP script"],
'application/x-pkcs12' => [%w(p12 pfx), %w(), "PKCS#12 certificate bundle"],
'application/x-pkcs7-certificates' => [%w(p7b spc), %w(), "PKCS#7 certificate bundle"],
'application/x-planperfect' => [%w(pln), %w(), "PlanPerfect spreadsheet"],
......@@ -986,7 +1045,6 @@ class MimeMagic
'application/x-quicktime-media-link' => [%w(qtl), %w(video/quicktime), "QuickTime metalink playlist"],
'application/x-qw' => [%w(qif), %w(), "Quicken document"],
'application/x-rar' => [%w(rar), %w(), "RAR archive"],
'application/x-reject' => [%w(rej), %w(text/plain), "rejected patch"],
'application/x-rpm' => [%w(rpm), %w(), "RPM package"],
'application/x-ruby' => [%w(rb), %w(application/x-executable text/plain), "Ruby script"],
'application/x-sami' => [%w(sami smi), %w(text/plain), "SAMI subtitles"],
......@@ -1021,6 +1079,7 @@ class MimeMagic
'application/x-wais-source' => [%w(src), %w(), "WAIS source code"],
'application/x-windows-themepack' => [%w(themepack), %w(application/vnd.ms-cab-compressed), "Microsoft Windows theme pack"],
'application/x-wpg' => [%w(wpg), %w(), "WordPerfect/Drawperfect image"],
'application/x-wwf' => [%w(wwf), %w(application/pdf), "WWF document"],
'application/x-x509-ca-cert' => [%w(cert crt der pem), %w(), "DER/PEM/Netscape-encoded X.509 certificate"],
'application/x-xbel' => [%w(xbel), %w(application/xml), "XBEL bookmarks"],
'application/x-xliff' => [%w(xlf xliff), %w(application/xml), "XLIFF translation file"],
......@@ -1159,12 +1218,11 @@ class MimeMagic
'image/x-xpixmap' => [%w(xpm), %w(), "XPM image"],
'image/x-xwindowdump' => [%w(xwd), %w(), "X window image"],
'message/rfc822' => [%w(eml), %w(text/plain), "email message"],
'model/vrml' => [%w(wrl), %w(text/plain), "VRML document"],
'model/vrml' => [%w(vrm vrml wrl), %w(text/plain), "VRML document"],
'text/cache-manifest' => [%w(manifest), %w(text/plain), "Web application cache manifest"],
'text/calendar' => [%w(ics vcs), %w(text/plain), "VCS/ICS calendar"],
'text/css' => [%w(css cssl), %w(text/x-csrc), "CSS stylesheet"],
'text/csv' => [%w(csv), %w(text/plain), "CSV document"],
'text/directory' => [%w(gcrd vcf vct), %w(text/plain), "electronic business card"],
'text/html' => [%w(htm html), %w(text/plain), "HTML document"],
'text/plain' => [%w(asc txt), %w(), "plain text document"],
'text/richtext' => [%w(rtx), %w(text/plain), "rich text document"],
......@@ -1172,12 +1230,14 @@ class MimeMagic
'text/spreadsheet' => [%w(slk sylk), %w(text/plain), "spreadsheet interchange document"],
'text/tab-separated-values' => [%w(tsv), %w(text/plain), "TSV document"],
'text/troff' => [%w(roff t tr), %w(text/plain), "Troff document"],
'text/vcard' => [%w(gcrd vcard vcf vct), %w(text/plain), "electronic business card"],
'text/vnd.graphviz' => [%w(dot gv), %w(), "Graphviz DOT graph"],
'text/vnd.rn-realtext' => [%w(rt), %w(), "RealText document"],
'text/vnd.sun.j2me.app-descriptor' => [%w(jad), %w(), "JAD document"],
'text/vnd.trolltech.linguist' => [%w(ts), %w(application/xml), "message catalog"],
'text/vnd.wap.wml' => [%w(wml), %w(application/xml), "WML document"],
'text/vnd.wap.wmlscript' => [%w(wmls), %w(), "WMLScript program"],
'text/vtt' => [%w(vtt), %w(text/plain), "WebVTT subtitles"],
'text/x-adasrc' => [%w(adb ads), %w(text/plain), "Ada source code"],
'text/x-bibtex' => [%w(bib), %w(text/plain), "BibTeX document"],
'text/x-c++hdr' => [%w(h++ hh hp hpp hxx), %w(text/x-chdr), "C++ header"],
......@@ -1208,6 +1268,7 @@ class MimeMagic
'text/x-literate-haskell' => [%w(lhs), %w(text/plain), "LHS source code"],
'text/x-log' => [%w(log), %w(text/plain), "application log"],
'text/x-lua' => [%w(lua), %w(application/x-executable text/plain), "Lua script"],
'text/x-markdown' => [%w(markdown md mkd), %w(text/plain), "Markdown document"],
'text/x-matlab' => [%w(m), %w(text/plain), "MATLAB script/function"],
'text/x-microdvd' => [%w(sub), %w(text/plain), "MicroDVD subtitles"],
'text/x-moc' => [%w(moc), %w(text/plain), "Qt MOC file"],
......@@ -1224,9 +1285,12 @@ class MimeMagic
'text/x-opml+xml' => [%w(opml), %w(application/xml), "OPML syndication feed"],
'text/x-pascal' => [%w(p pas), %w(text/plain), "Pascal source code"],
'text/x-patch' => [%w(diff patch), %w(text/plain), "differences between files"],
'text/x-python' => [%w(py), %w(application/x-executable text/plain), "Python script"],
'text/x-python' => [%w(py wsgi), %w(application/x-executable text/plain), "Python script"],
'text/x-qml' => [%w(qml), %w(), "Qt Markup Language file"],
'text/x-reject' => [%w(rej), %w(text/plain), "rejected patch"],
'text/x-rpm-spec' => [%w(spec), %w(text/plain), "RPM spec file"],
'text/x-scheme' => [%w(scm), %w(text/plain), "Scheme source code"],
'text/x-scala' => [%w(scala), %w(text/plain), "Scala source code"],
'text/x-scheme' => [%w(scm ss), %w(text/plain), "Scheme source code"],
'text/x-setext' => [%w(etx), %w(text/plain), "Setext document"],
'text/x-sql' => [%w(sql), %w(text/plain), "SQL code"],
'text/x-ssa' => [%w(ass ssa), %w(text/plain), "SSA subtitles"],
......@@ -1241,7 +1305,6 @@ class MimeMagic
'text/x-troff-ms' => [%w(ms), %w(text/plain), "Troff MS input document"],
'text/x-txt2tags' => [%w(t2t), %w(text/plain), "txt2tags document"],
'text/x-uil' => [%w(uil), %w(text/plain), "X-Motif UIL table"],
'text/x-uri' => [%w(uri url), %w(text/plain), "resource location"],
'text/x-vala' => [%w(vala vapi), %w(text/x-csrc), "Vala source code"],
'text/x-verilog' => [%w(v), %w(text/plain), "Verilog source code"],
'text/x-vhdl' => [%w(vhd vhdl), %w(text/plain), "VHDL source code"],
......@@ -1257,6 +1320,7 @@ class MimeMagic
'video/ogg' => [%w(ogv), %w(application/ogg), "Ogg Video"],
'video/quicktime' => [%w(moov mov qt qtvr), %w(), "QuickTime video"],
'video/vivo' => [%w(viv vivo), %w(), "Vivo video"],
'video/vnd.mpegurl' => [%w(m1u m4u mxu), %w(text/plain), "MPEG video (streamed)"],
'video/vnd.rn-realvideo' => [%w(rv rvx), %w(), "RealVideo document"],
'video/webm' => [%w(webm), %w(), "WebM video"],
'video/x-flic' => [%w(flc fli), %w(), "FLIC animation"],
......@@ -1277,45 +1341,46 @@ class MimeMagic
['application/vnd.stardivision.writer', [[2089, "StarWriter"]]],
['application/docbook+xml', [[0, "<?xml", [[0..100, "-//OASIS//DTD DocBook XML"], [0..100, "-//KDE//DTD DocBook XML"]]]]],
['image/x-eps', [[0, "%!", [[15, "EPS"]]], [0, "\004%!", [[16, "EPS"]]]]],
['image/svg+xml', [[0..256, "<!DOCTYPE svg"], [0..256, "<svg"]]],
['application/x-mozilla-bookmarks', [[0..64, "<!DOCTYPE NETSCAPE-Bookmark-file-1>"]]],
['application/vnd.corel-draw', []],
['application/x-mobipocket-ebook', [[60, "BOOKMOBI"]]],
['image/x-niff', [[0, "IIN1"]]],
['application/prs.plucker', [[60, "DataPlkr"]]],
['application/x-fictionbook+xml', [[0..256, "<FictionBook"]]],
['application/vnd.corel-draw', []],
['text/x-qml', [[0..256, "import Qt "]]],
['image/svg+xml', [[0..256, "<!DOCTYPE svg"], [0..256, "<svg"]]],
['image/x-kodak-kdc', [[242, "EASTMAN KODAK COMPANY"]]],
['application/prs.plucker', [[60, "DataPlkr"]]],
['application/x-mozilla-bookmarks', [[0..64, "<!DOCTYPE NETSCAPE-Bookmark-file-1>"]]],
['application/x-xliff', [[0..256, "<xliff"]]],
['audio/x-vorbis+ogg', [[0, "OggS", [[28, "\001vorbis"]]]]],
['audio/x-flac+ogg', [[0, "OggS", [[28, "fLaC"]]], [0, "OggS", [[28, "\177FLAC"]]]]],
['application/x-php', [[0..64, "<?php"]]],
['application/x-pak', [[0, "PACK"]]],
['application/x-nzb', [[0..256, "<nzb"]]],
['audio/x-flac+ogg', [[0, "OggS", [[28, "fLaC"]]], [0, "OggS", [[28, "\177FLAC"]]]]],
['video/x-ogm+ogg', [[0, "OggS", [[29, "video"]]]]],
['video/x-theora+ogg', [[0, "OggS", [[28, "\200theora"]]]]],
['application/x-pak', [[0, "PACK"]]],
['audio/x-speex+ogg', [[0, "OggS", [[28, "Speex "]]]]],
['audio/x-vorbis+ogg', [[0, "OggS", [[28, "\001vorbis"]]]]],
['text/x-opml+xml', [[0..256, "<opml "]]],
['application/atom+xml', [[0..256, "<feed "]]],
['application/rss+xml', [[0..256, "<rss "], [0..256, "<RSS "]]],
['application/vnd.apple.mpegurl', [[0, "#EXTM3U", [[0..128, "#EXT-X-TARGETDURATION"], [0..128, "#EXT-X-STREAM-INF"]]]]],
['application/x-kpresenter', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kpresenter\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kpresenter"]]]]]]],
['text/x-txt2tags', [[0, "%!postproc"], [0, "%!encoding"]]],
['application/x-quicktime-media-link', [[0, "<?xml", [[0..64, "<?quicktime"]]], [0, "RTSPtext"], [0, "rtsptext"], [0, "SMILtext"]]],
['application/x-kword', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kword\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kword"]]]]]]],
['application/x-kspread', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kspread\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kspread"]]]]]]],
['application/x-krita', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-krita\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-krita"]]]]]]],
['application/vnd.ms-wpl', [[0..256, "<?wpl"]]],
['application/msword', [[0, "1\276\000\000"], [0, "PO^Q`"], [0, "\3767\000#"], [0, "\333\245-\000\000\000"], [2112, "MSWordDoc"], [2108, "MSWordDoc"], [2112, "Microsoft Word document data"], [546, "bjbj"], [546, "jbjb"]]],
['application/vnd.ms-wpl', [[0..256, "<?wpl"]]],
['application/x-kontour', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kontour\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kontour"]]]]]]],
['application/x-karbon', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-karbon\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-karbon"]]]]]]],
['application/x-quicktime-media-link', [[0, "<?xml", [[0..64, "<?quicktime"]]], [0, "RTSPtext"], [0, "rtsptext"], [0, "SMILtext"]]],
['application/x-font-type1', [[0, "LWFN"], [65, "LWFN"], [0, "%!PS-AdobeFont-1."], [6, "%!PS-AdobeFont-1."], [0, "%!FontType1-1."], [6, "%!FontType1-1."]]],
['application/x-killustrator', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-killustrator\004\006"]]]]]]],
['application/x-kformula', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kformula\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kformula"]]]]]]],
['application/x-kchart', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kchart\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kchart"]]]]]]],
['application/x-karbon', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-karbon\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-karbon"]]]]]]],
['application/x-kivio', [[0, "\037\213", [[10, "KOffice", [[18, "application/x-kivio\004\006"]]]]], [0, "PK\003\004", [[30, "mimetype", [[38, "application/x-kivio"]]]]]]],
['application/smil', [[0..256, "<smil"]]],
['audio/x-ms-asx', [[0, "ASF "], [0..64, "<ASX"], [0..64, "<asx"], [0..64, "<Asx"]]],
['image/dpx', [[0, "SDPX"]]],
['video/x-flic', [[0, "\021\257"], [0, "\022\257"]]],
['image/x-quicktime', [[4, "idat"]]],
['image/vnd.djvu', [[0, "AT&TFORM", [[12, "DJVM"], [12, "DJVU"]]], [0, "FORM", [[8, "DJVM"], [8, "DJVU"]]]]],
['video/quicktime', [[12, "mdat"], [4, "mdat"], [4, "moov"], [4, "ftypqt"]]],
['application/vnd.oasis.opendocument.text', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.oasis.opendocument.text"]]]]]]],
['application/vnd.oasis.opendocument.text-template', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.oasis.opendocument.text-template"]]]]]]],
......@@ -1334,6 +1399,7 @@ class MimeMagic
['application/vnd.oasis.opendocument.image', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.oasis.opendocument.image"]]]]]]],
['application/vnd.symbian.install', [[8, "\031\004\000\020"]]],
['x-epoc/x-sisx-app', [[0, "z\032 \020"]]],
['application/vnd.tcpdump.pcap', [[0, "\324\303\262\241"], [0, "\241\262\303\324"]]],
['application/vnd.wordperfect', [[1, "WPC"]]],
['application/x-spss-por', [[40, "ASCII SPSS PORT FILE"]]],
['application/x-spss-sav', [[0, "$FL2"]]],
......@@ -1344,7 +1410,7 @@ class MimeMagic
['application/x-applix-spreadsheet', [[0, "*BEGIN SPREADSHEETS"], [0, "*BEGIN", [[7, "SPREADSHEETS"]]]]],
['application/x-applix-word', [[0, "*BEGIN", [[7, "WORDS"]]]]],
['application/x-arc', []],
['video/mpeg', [[0, "G?\377\020"], [0, "\000\000\001\263"], [0, "\000\000\001\272"]]],
['video/vnd.mpegurl', [[0, "#EXTM4U"]]],
['application/x-arj', [[0, "`\352"]]],
['application/x-awk', [[0, "#!/bin/gawk"], [0, "#! /bin/gawk"], [0, "#!/usr/bin/gawk"], [0, "#! /usr/bin/gawk"], [0, "#!/usr/local/bin/gawk"], [0, "#! /usr/local/bin/gawk"], [0, "#!/bin/awk"], [0, "#! /bin/awk"], [0, "#!/usr/bin/awk"], [0, "#! /usr/bin/awk"]]],
['application/x-bittorrent', [[0, "d8:announce"]]],
......@@ -1356,17 +1422,18 @@ class MimeMagic
['application/x-compress', [[0, "\037\235"]]],
['application/x-core', [[0, "\177ELF", [[5, "\001", [[16, "\004\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\004"]]]]], [0, "Core\001"], [0, "Core\002"]]],
['application/x-cpio', [[0, "\307q"], [0, "070701"], [0, "070702"], [0, "q\307"]]],
['video/mp2t', []],
['video/mpeg', [[0, "G?\377\020"], [0, "\000\000\001\263"], [0, "\000\000\001\272"]]],
['application/x-deb', [[0, "!<arch>", [[8, "debian"]]]]],
['video/dv', []],
['video/mp2t', []],
['video/x-flic', [[0, "\021\257"], [0, "\022\257"]]],
['application/x-desktop', [[0..32, "[Desktop Entry]"], [0, "[Desktop Action"], [0, "[KDE Desktop Entry]"], [0, "# Config File"], [0, "# KDE Config File"]]],
['video/x-ms-asf', [[0, "0&\262u"], [0, "[Reference]"]]],
['application/x-hwp', [[0, "HWP Document File"]]],
['application/x-dia-diagram', [[5..100, "<dia:"]]],
['application/x-dia-shape', [[5..100, "<shape"]]],
['application/x-dvi', [[0, "\367\002"]]],
['text/xmcd', [[0, "# xmcd"]]],
['application/x-fluid', [[0, "# data file for the Fltk"], [0, "version"], [0, "header_name"], [0, "code_name"]]],
['application/x-netshow-channel', [[0, "[Address]"]]],
['video/dv', []],
['application/x-fluid', [[0, "# data file for the Fltk"]]],
['video/x-ms-asf', [[0, "0&\262u"], [0, "[Reference]"]]],
['application/x-font-bdf', [[0, "STARTFONT "]]],
['application/x-font-dos', [[0, "\377FON"], [7, "\000EGA"], [7, "\000VID"]]],
['application/x-font-framemaker', [[0, "<MakerScreenFont"]]],
......@@ -1383,6 +1450,7 @@ class MimeMagic
['application/x-font-vfont', [[0, "FONT"]]],
['application/x-frame', [[0, "<MakerFile"], [0, "<MIFFile"], [0, "<MakerDictionary"], [0, "<MakerScreenFon"], [0, "<MML"], [0, "<Book"], [0, "<Maker"]]],
['application/x-gdbm', [[0, "\023W\232\316"], [0, "\316\232W\023"], [0, "GDBM"]]],
['application/x-genesis-rom', [[256, "SEGA"], [640, "EAGN"], [640, "EAMG"]]],
['application/x-glade', [[0..256, "<glade-interface"]]],
['application/x-gmc-link', [[0..32, "URL:"]]],
['application/x-gnumeric', [[0..64, "gmr:Workbook"], [0..64, "gnm:Workbook"]]],
......@@ -1395,6 +1463,7 @@ class MimeMagic
['application/x-java-keystore', [[0, "\355\376\355\376"]]],
['application/x-java-jce-keystore', [[0, "\316\316\316\316"]]],
['application/x-java-pack200', [[0, "\312\376\320\r"]]],
['application/x-netshow-channel', [[0, "[Address]"]]],
['video/x-msvideo', [[0, "RIFF", [[8, "AVI "]]]]],
['video/x-nsv', [[0, "NSVf"]]],
['application/sdp', [[0, "v=", [[0..256, "s="]]]]],
......@@ -1403,13 +1472,12 @@ class MimeMagic
['application/gnunet-directory', [[0, "\211GND\r\n\032\n"]]],
['application/vnd.ms-excel', [[2080, "Microsoft Excel 5.0 Worksheet"]]],
['application/vnd.ms-cab-compressed', [[0, "MSCF\000\000\000\000"]]],
['application/vnd.ms-access', [[0, "\000\001\000\000Standard Jet DB"]]],
['application/x-kspread-crypt', [[0, "\r\032'\002"]]],
['application/x-ksysv-package', [[4, "KSysV", [[15, "\001"]]]]],
['application/vnd.lotus-1-2-3', [[0, "\000\000\002\000\006\004\006\000\b\000\000\000\000\000"]]],
['application/vnd.ms-access', [[0, "\000\001\000\000Standard Jet DB"]]],
['application/x-kword-crypt', [[0, "\r\032'\001"]]],
['application/x-lha', [[2, "-lh -"], [2, "-lh0-"], [2, "-lh1-"], [2, "-lh2-"], [2, "-lh3-"], [2, "-lh4-"], [2, "-lh5-"], [2, "-lh40-"], [2, "-lhd-"], [2, "-lz4-"], [2, "-lz5-"], [2, "-lzs-"]]],
['application/xslt+xml', [[0..256, "<xsl:stylesheet"]]],
['text/xmcd', [[0, "# xmcd"]]],
['application/x-lyx', [[0, "#LyX"]]],
['application/x-lzip', [[0, "LZIP"]]],
['application/x-lzop', [[0, "\211LZO\000\r\n\032\n"]]],
......@@ -1417,10 +1485,13 @@ class MimeMagic
['application/x-matroska', [[0, "\032E\337\243", [[5..65, "B\202", [[8..75, "matroska"]]]]]]],
['video/webm', [[0, "\032E\337\243", [[5..65, "B\202", [[8..75, "webm"]]]]]]],
['application/mxf', [[0..256, "\006\016+4\002\005\001\001\r\001\002\001\001\002"]]],
['application/xslt+xml', [[0..256, "<xsl:stylesheet"]]],
['application/vnd.lotus-1-2-3', [[0, "\000\000\002\000\006\004\006\000\b\000\000\000\000\000"]]],
['application/vnd.emusic-emusic_package', [[0, "nF7YLao"]]],
['application/x-ms-dos-executable', [[0, "MZ"]]],
['application/x-mswinurl', [[1, "InternetShortcut"], [1, "DEFAULT", [[11, "BASEURL="]]]]],
['application/x-nautilus-link', [[0..32, "<nautilus_object nautilus_link"]]],
['application/x-go-sgf', [[0, "(;FF[3]"], [0, "(;FF[4]"]]],
['application/x-object', [[0, "\177ELF", [[5, "\001", [[16, "\001\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\001"]]]]]]],
['application/annodex', [[0, "OggS", [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
['video/annodex', [[0, "OggS", [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
......@@ -1428,22 +1499,22 @@ class MimeMagic
['application/ogg', [[0, "OggS"]]],
['audio/ogg', [[0, "OggS"]]],
['video/ogg', [[0, "OggS"]]],
['application/x-go-sgf', [[0, "(;FF[3]"], [0, "(;FF[4]"]]],
['application/x-t602', [[0, "@CT 0"], [0, "@CT 1"], [0, "@CT 2"]]],
['video/x-flv', [[0, "FLV"]]],
['audio/x-speex', [[0, "Speex"]]],
['application/x-gedcom', [[0, "0 HEAD"]]],
['audio/x-speex', [[0, "Speex"]]],
['application/x-cisco-vpn-settings', [[0, "[main]", [[0..256, "AuthType="]]]]],
['application/vnd.iccprofile', [[36, "acsp"]]],
['application/x-ole-storage', [[0, "\320\317\021\340\241\261\032\341"], [0, "\320\317\021\340"]]],
['application/x-oleo', [[31, "Oleo"]]],
['application/vnd.iccprofile', [[36, "acsp"]]],
['application/rtf', [[0, "{\\rtf"]]],
['application/x-par2', [[0, "PAR2"]]],
['application/x-pef-executable', [[0, "Joy!"]]],
['application/x-perl', [[0, "eval \"exec /usr/local/bin/perl"], [1..16, "/bin/perl"], [1..16, "/bin/env perl"]]],
['application/rtf', [[0, "{\\rtf"]]],
['application/epub+zip', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/epub+zip"]]]]]]],
['application/x-pocket-word', [[0, "{\\pwi"]]],
['application/x-python-bytecode', [[0, "\231N\r\n"]]],
['application/epub+zip', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/epub+zip"]]]]]]],
['application/postscript', [[0, "\004%!"], [0, "%!"]]],
['application/x-rar', [[0, "Rar!"]]],
['text/x-iptables', [[0..256, "/etc/sysconfig/iptables"], [0..256, "*filter", [[0..256, ":INPUT", [[0..256, ":FORWARD", [[0..256, ":OUTPUT"]]]]]]], [0..256, "-A INPUT", [[0..256, "-A FORWARD", [[0..256, "-A OUTPUT"]]]]], [0..256, "-P INPUT", [[0..256, "-P FORWARD", [[0..256, "-P OUTPUT"]]]]]]],
['application/x-alz', [[0, "ALZ"]]],
......@@ -1451,12 +1522,13 @@ class MimeMagic
['text/x-tex', [[1, "documentclass"]]],
['application/x-sc', [[38, "Spreadsheet"]]],
['application/x-sharedlib', [[0, "\177ELF", [[5, "\001", [[16, "\003\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\003"]]]]], [0, "\203\001"]]],
['application/x-shellscript', [[10, "# This is a shell archive"], [1..16, "/bin/bash"], [1..16, "/bin/nawk"], [1..16, "/bin/zsh"], [1..16, "/bin/sh"], [1..16, "/bin/ksh"], [0, "#!/usr/bin/env sh"], [0, "#!/usr/bin/env bash"], [0, "#!/usr/bin/env zsh"], [0, "#!/usr/bin/env ksh"]]],
['application/x-shellscript', [[10, "# This is a shell archive"], [1..16, "/bin/bash"], [1..16, "/bin/nawk"], [1..16, "/bin/zsh"], [1..16, "/bin/sh"], [1..16, "/bin/ksh"], [1..16, "/bin/dash"], [0, "#!/usr/bin/env sh"], [0, "#!/usr/bin/env bash"], [0, "#!/usr/bin/env zsh"], [0, "#!/usr/bin/env ksh"]]],
['application/x-shockwave-flash', [[0, "FWS"], [0, "CWS"]]],
['application/x-shorten', [[0, "ajkg"]]],
['image/x-skencil', [[0, "##Sketch"]]],
['application/x-stuffit', [[0, "StuffIt "], [0, "SIT!"]]],
['application/x-subrip', [[0, "1", [[0..256, " --> "]]]]],
['text/vtt', [[0, "WEBVTT"]]],
['application/x-sami', [[0..256, "<SAMI>"]]],
['text/x-microdvd', [[0, "{1}"], [0, "{0}"], [0..6, "}{"]]],
['text/x-mpsub', [[0..256, "FORMAT="]]],
......@@ -1484,7 +1556,7 @@ class MimeMagic
['audio/x-ape', [[0, "MAC "]]],
['audio/x-it', [[0, "IMPM"]]],
['audio/flac', [[0, "fLaC"]]],
['text/x-google-video-pointer', [[0, "#.download.the.free.Google.Video.Player"], [0, "# download the free Google Video Player"]]],
['audio/x-wavpack', [[0, "wvpk"]]],
['audio/x-wavpack-correction', [[0, "wvpk"]]],
['audio/midi', [[0, "MThd"]]],
['audio/x-mo3', [[0, "MO3"]]],
......@@ -1493,10 +1565,10 @@ class MimeMagic
['audio/x-m4b', [[4, "ftypM4B"]]],
['video/3gpp', [[4, "ftyp3ge"], [4, "ftyp3gg"], [4, "ftyp3gp"], [4, "ftyp3gs"]]],
['video/3gpp2', [[4, "ftyp3g2"]]],
['audio/mpeg', [[0, "\000\000\377\373"], [0, "ID3"]]],
['audio/mpeg', [[0, "\377\373"], [0, "ID3"]]],
['audio/x-mpegurl', [[0, "#EXTM3U"]]],
['application/postscript', [[0, "\004%!"], [0, "%!"]]],
['application/pgp-signature', [[0, "-----BEGIN PGP SIGNED MESSAGE-----"], [0, "-----BEGIN PGP SIGNATURE-----"]]],
['application/pgp-keys', [[0, "-----BEGIN PGP PUBLIC KEY BLOCK-----"], [0, "-----BEGIN PGP PRIVATE KEY BLOCK-----"], [0, "\225\001"], [0, "\225\000"], [0, "\231\000"], [0, "\231\001"]]],
['audio/x-psf', [[0, "PSF"]]],
['audio/x-musepack', [[0, "MP+"]]],
['application/vnd.rn-realmedia', [[0, ".RMF"]]],
......@@ -1518,33 +1590,33 @@ class MimeMagic
['image/x-exr', [[0, "v/1\001"]]],
['image/x-canon-crw', [[0, "II\032\000\000\000HEAPCCDR"]]],
['image/x-fuji-raf', [[0, "FUJIFILMCCD-RAW "]]],
['application/pgp-keys', [[0, "-----BEGIN PGP PUBLIC KEY BLOCK-----"], [0, "-----BEGIN PGP PRIVATE KEY BLOCK-----"], [0, "\225\001"], [0, "\225\000"], [0, "\231\000"], [0, "\231\001"]]],
['application/pgp-encrypted', [[0, "-----BEGIN PGP MESSAGE-----"]]],
['image/x-minolta-mrw', [[0, "\000MRM"]]],
['image/x-olympus-orf', [[0, "IIRO\b\000\000\000"]]],
['image/x-panasonic-raw', [[0, "IIU\000\b\000\000\000"]]],
['image/x-panasonic-raw2', [[0, "IIU\000\030\000\000\000"]]],
['image/x-sigma-x3f', [[0, "FOVb"]]],
['image/png', [[0, "\211PNG"]]],
['application/pgp-encrypted', [[0, "-----BEGIN PGP MESSAGE-----"]]],
['audio/x-iriver-pla', [[4, "iriver UMS PLA"]]],
['image/tiff', [[0, "MM\000*"], [0, "II*\000"]]],
['image/vnd.dxf', [[0..64, "\nHEADER\n"], [0..64, "\r\nHEADER\r\n"]]],
['image/vnd.ms-modi', [[0, "EP*\000"]]],
['image/x-applix-graphics', [[0, "*BEGIN", [[7, "GRAPHICS"]]]]],
['application/dicom', [[128, "DICM"]]],
['audio/x-iriver-pla', [[4, "iriver UMS PLA"]]],
['application/xspf+xml', [[0..64, "<playlist version=\"1"], [0..64, "<playlist version='1"]]],
['image/x-dib', [[0, "(\000\000\000"]]],
['image/vnd.djvu', [[0, "AT&TFORM", [[12, "DJVM"], [12, "DJVU"]]], [0, "FORM", [[8, "DJVM"], [8, "DJVU"]]]]],
['application/x-hwp', [[0, "HWP Document File"]]],
['application/xspf+xml', [[0..64, "<playlist version=\"1"]]],
['image/x-quicktime', [[4, "idat"]]],
['image/dpx', [[0, "SDPX"]]],
['application/pdf', [[0..1024, "%PDF-"]]],
['image/fits', [[0, "SIMPLE ="]]],
['image/x-fpx', [[0, "FPix"]]],
['image/vnd.microsoft.icon', [[0, "\000\000\001\000", [[5, "\000"]]]]],
['image/x-icns', [[0, "icns"]]],
['application/pdf', [[0..1024, "%PDF-"]]],
['application/metalink4+xml', [[0..256, "<metalink xmlns=\"urn"]]],
['image/x-pcx', [[0, "\n", [[1, "\000"], [1, "\002"], [1, "\003"], [1, "\005"]]]]],
['image/x-portable-bitmap', [[0, "P1", [[2, "\n", [[3, "#"]]]]], [0, "P4", [[2, "\n", [[3, "#"]]]]]]],
['image/x-portable-graymap', [[0, "P2", [[2, "\n", [[3, "#"]]]]], [0, "P5", [[2, "\n", [[3, "#"]]]]]]],
['image/x-portable-pixmap', [[0, "P3", [[2, "\n", [[3, "#"]]]]], [0, "P6", [[2, "\n", [[3, "#"]]]]]]],
['image/x-portable-bitmap', [[0, "P1", [[2, "\n"], [2, " "], [2, "\t"], [2, "\r"]]], [0, "P4", [[2, "\n"], [2, " "], [2, "\t"], [2, "\r"]]]]],
['image/x-portable-graymap', [[0, "P2", [[2, "\n"], [2, " "], [2, "\t"], [2, "\r"]]], [0, "P5", [[2, "\n"], [2, " "], [2, "\t"], [2, "\r"]]]]],
['image/x-portable-pixmap', [[0, "P3", [[2, "\n"], [2, " "], [2, "\t"], [2, "\r"]]], [0, "P6", [[2, "\n"], [2, " "], [2, "\t"], [2, "\r"]]]]],
['image/vnd.adobe.photoshop', []],
['image/x-sun-raster', [[0, "Y\246j\225"]]],
['text/x-mup', [[0, "//!Mup"]]],
......@@ -1558,8 +1630,8 @@ class MimeMagic
['message/news', [[0, "Article"], [0, "Path:"], [0, "Xref:"]]],
['message/rfc822', [[0, "#! rnews"], [0, "Forward to"], [0, "From:"], [0, "N#! rnews"], [0, "Pipe to"], [0, "Received:"], [0, "Relay-Version:"], [0, "Return-Path:"], [0, "Return-path:"], [0, "Subject: "]]],
['text/calendar', [[0, "BEGIN:VCALENDAR"], [0, "begin:vcalendar"]]],
['text/directory', [[0, "BEGIN:VCARD"], [0, "begin:vcard"]]],
['application/metalink+xml', [[0..256, "<metalink"]]],
['text/vcard', [[0, "BEGIN:VCARD"], [0, "begin:vcard"]]],
['application/metalink+xml', [[0..256, "<metalink version=\"3.0\""]]],
['text/plain', [[0, "This is TeX,"], [0, "This is METAFONT,"]]],
['application/x-it87', [[0, "IT8.7"]]],
['application/mathematica', [[0, "(************** Content-type: application/mathematica"], [100..256, "This notebook can be used on any computer system with Mathematica"], [10..256, "This is a Mathematica Notebook file. It contains ASCII text"]]],
......@@ -1567,37 +1639,38 @@ class MimeMagic
['text/spreadsheet', [[0, "ID;"]]],
['text/vnd.graphviz', [[0, "digraph "], [0, "strict digraph "], [0, "graph "], [0, "strict graph "]]],
['text/vnd.sun.j2me.app-descriptor', [[0, "MIDlet-"]]],
['application/x-ace', [[7, "**ACE**"]]],
['text/x-google-video-pointer', [[0, "#.download.the.free.Google.Video.Player"], [0, "# download the free Google Video Player"]]],
['text/x-ms-regedit', [[0, "REGEDIT"], [0, "Windows Registry Editor Version 5.00"], [0, "\377\376W\000i\000n\000d\000o\000w\000s\000 \000R\000e\000g\000i\000s\000t\000r\000y\000 \000E\000d\000i\000t\000o\000r\000"]]],
['text/x-makefile', [[0, "#!/usr/bin/make"], [0, "#! /usr/bin/make"]]],
['text/x-emacs-lisp', [[0, "\n("], [0, ";ELC\023\000\000\000"]]],
['text/html', [[0..256, "<!DOCTYPE HTML"], [0..256, "<!doctype html"], [0..256, "<HEAD"], [0..256, "<head"], [0..256, "<TITLE"], [0..256, "<title"], [0..256, "<HTML"], [0..256, "<html"], [0..256, "<SCRIPT"], [0..256, "<script"], [0, "<BODY"], [0, "<body"], [0, "<!--"], [0, "<h1"], [0, "<H1"], [0, "<!doctype HTML"], [0, "<!DOCTYPE html"]]],
['text/x-ldif', [[0, "dn: cn="], [0, "dn: mail="]]],
['audio/x-wavpack', [[0, "wvpk"]]],
['application/x-ace', [[7, "**ACE**"]]],
['application/x-archive', [[0, "<ar>"], [0, "!<arch>"]]],
['audio/x-riff', [[0, "RIFF"]]],
['application/x-executable', [[0, "\177ELF", [[5, "\001", [[16, "\002\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\002"]]]]], [0, "MZ"], [0, "\034R"], [0, "\020\001"], [0, "\021\001"], [0, "\203\001"]]],
['video/x-javafx', [[0, "FLV"]]],
['application/zip', [[0, "PK\003\004"]]],
['audio/basic', [[0, ".snd"]]],
['application/xml', [[0, "<?xml"], [0, "<!--"]]],
['application/x-executable', [[0, "\177ELF", [[5, "\001", [[16, "\002\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\002"]]]]], [0, "MZ"], [0, "\034R"], [0, "\020\001"], [0, "\021\001"], [0, "\203\001"]]],
['application/zip', [[0, "PK\003\004"]]],
['application/x-mobipocket-ebook', [[60, "TEXtREAd"]]],
['text/x-objcsrc', [[0, "#import"]]],
['text/x-csrc', [[0, "/*"], [0, "//"], [0, "#include"]]],
['application/mbox', [[0, "From "]]],
['text/x-tex', [[0, "%"]]],
['image/x-tga', [[1, "\001\001"], [1, "\0019"], [1, "\000\003"], [1, "\000\n"], [1, "\000\v"], [1, "\000\002"]]],
['text/x-matlab', [[0, "%"]]],
['text/x-tex', [[0, "%"]]],
['text/x-matlab', [[0, "##"]]],
['application/x-designer', [[0..256, "<ui"], [0..256, "<UI"]]],
['application/vnd.sun.xml.writer', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.writer"]]]]]]],
['text/vnd.trolltech.linguist', [[0..256, "<TS"]]],
['application/x-ruby', [[1..16, "/bin/env ruby"], [1..16, "/bin/ruby"]]],
['application/x-ms-wim', [[0, "MSWIM\000\000\000"]]],
['application/x-dar', [[0, "\000\000\000{"]]],
['application/x-ruby', [[1..16, "/bin/env ruby"], [1..16, "/bin/ruby"]]],
['application/x-designer', [[0..256, "<ui "], [0..256, "<UI "]]],
['application/x-csh', [[1..16, "/bin/tcsh"], [1..16, "/bin/csh"], [0, "#!/usr/bin/env csh"], [0, "#!/usr/bin/env tcsh"]]],
['audio/x-stm', [[20, "!Scream!\032"], [20, "!SCREAM!\032"], [20, "BMOD2STM\032"]]],
['application/x-ms-wim', [[0, "MSWIM\000\000\000"]]],
['application/vnd.sun.xml.writer.template', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.writer"]]]]]]],
['application/vnd.sun.xml.writer.global', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.writer"]]]]]]],
['application/vnd.sun.xml.writer', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.writer"]]]]]]],
['audio/x-stm', [[20, "!Scream!\032"], [20, "!SCREAM!\032"], [20, "BMOD2STM\032"]]],
['application/vnd.sun.xml.math', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.math"]]]]]]],
['application/vnd.sun.xml.impress.template', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.impress"]]]]]]],
['application/vnd.sun.xml.impress', [[0, "PK\003\004", [[30, "mimetype", [[38, "application/vnd.sun.xml.impress"]]]]]]],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment