Commit c84d4e23 by Daniel Mendler

regenerate table with newest freedesktop.org.xml

parent 42038856
......@@ -14,7 +14,7 @@ class MimeMagic
'669' => 'audio/x-mod',
'7z' => 'application/x-7z-compressed',
'a' => 'application/x-archive',
'aac' => 'audio/mp4',
'aac' => 'audio/aac',
'abw' => 'application/x-abiword',
'abw.crashed' => 'application/x-abiword',
'abw.gz' => 'application/x-abiword',
......@@ -26,15 +26,18 @@ class MimeMagic
'ag' => 'image/x-applix-graphics',
'ai' => 'application/illustrator',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aifc' => 'audio/x-aifc',
'aiff' => 'audio/x-aiff',
'aiffc' => 'audio/x-aifc',
'al' => 'application/x-perl',
'alz' => 'application/x-alz',
'amr' => 'audio/AMR',
'amz' => 'audio/x-amzxml',
'ani' => 'application/x-navi-animation',
'anx' => 'application/annodex',
'ape' => 'audio/x-ape',
'apk' => 'application/vnd.android.package-archive',
'ar' => 'application/x-archive',
'arj' => 'application/x-arj',
'arw' => 'image/x-sony-arw',
'as' => 'application/x-applix-spreadsheet',
......@@ -45,6 +48,7 @@ class MimeMagic
'asx' => 'audio/x-ms-asx',
'atom' => 'application/atom+xml',
'au' => 'audio/basic',
'avf' => 'video/x-msvideo',
'avi' => 'video/x-msvideo',
'aw' => 'application/x-applix-word',
'awb' => 'audio/AMR-WB',
......@@ -73,6 +77,7 @@ class MimeMagic
'cbt' => 'application/x-cbt',
'cbz' => 'application/x-cbz',
'cc' => 'text/x-c++src',
'ccmx' => 'application/x-ccmx',
'cdf' => 'application/x-netcdf',
'cdr' => 'application/vnd.corel-draw',
'cer' => 'application/pkix-cert',
......@@ -112,6 +117,7 @@ class MimeMagic
'deb' => 'application/x-deb',
'der' => 'application/x-x509-ca-cert',
'desktop' => 'application/x-desktop',
'di' => 'text/x-dsrc',
'dia' => 'application/x-dia-diagram',
'diff' => 'text/x-patch',
'divx' => 'video/x-msvideo',
......@@ -121,7 +127,7 @@ class MimeMagic
'dmp' => 'application/vnd.tcpdump.pcap',
'dng' => 'image/x-adobe-dng',
'doc' => 'application/msword',
'docbook' => 'application/docbook+xml',
'docbook' => 'application/x-docbook+xml',
'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'dot' => 'application/msword-template',
......@@ -129,6 +135,8 @@ class MimeMagic
'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
'dsl' => 'text/x-dsl',
'dtd' => 'application/xml-dtd',
'dts' => 'audio/vnd.dts',
'dtshd' => 'audio/vnd.dts.hd',
'dtx' => 'text/x-tex',
'dv' => 'video/dv',
'dvi' => 'application/x-dvi',
......@@ -195,6 +203,7 @@ class MimeMagic
'gg' => 'application/x-sms-rom',
'gif' => 'image/gif',
'glade' => 'application/x-glade',
'gml' => 'application/gml+xml',
'gmo' => 'application/x-gettext-translation',
'gnc' => 'application/x-gnucash',
'gnd' => 'application/gnunet-directory',
......@@ -211,7 +220,7 @@ class MimeMagic
'gtar' => 'application/x-tar',
'gv' => 'text/vnd.graphviz',
'gvp' => 'text/x-google-video-pointer',
'gz' => 'application/x-gzip',
'gz' => 'application/gzip',
'h' => 'text/x-chdr',
'h++' => 'text/x-c++hdr',
'h4' => 'application/x-hdf',
......@@ -220,6 +229,7 @@ class MimeMagic
'hdf4' => 'application/x-hdf',
'hdf5' => 'application/x-hdf',
'hh' => 'text/x-c++hdr',
'hlp' => 'application/winhlp',
'hp' => 'text/x-c++hdr',
'hpgl' => 'application/vnd.hp-hpgl',
'hpp' => 'text/x-c++hdr',
......@@ -238,7 +248,7 @@ class MimeMagic
'ics' => 'text/calendar',
'idl' => 'text/x-idl',
'ief' => 'image/ief',
'iff' => 'image/x-iff',
'iff' => 'image/x-ilbm',
'ilbm' => 'image/x-ilbm',
'ime' => 'text/x-iMelody',
'imy' => 'text/x-iMelody',
......@@ -290,6 +300,7 @@ class MimeMagic
'kwt' => 'application/x-kword',
'la' => 'application/x-shared-library-la',
'latex' => 'text/x-tex',
'lbm' => 'image/x-ilbm',
'ldif' => 'text/x-ldif',
'lha' => 'application/x-lha',
'lhs' => 'text/x-literate-haskell',
......@@ -300,6 +311,7 @@ class MimeMagic
'lua' => 'text/x-lua',
'lwo' => 'image/x-lwo',
'lwob' => 'image/x-lwo',
'lwp' => 'application/vnd.lotus-wordpro',
'lws' => 'image/x-lws',
'ly' => 'text/x-lilypond',
'lyx' => 'application/x-lyx',
......@@ -320,6 +332,7 @@ class MimeMagic
'm4u' => 'video/vnd.mpegurl',
'm4v' => 'video/mp4',
'mab' => 'application/x-markaby',
'mak' => 'text/x-makefile',
'man' => 'application/x-troff-man',
'manifest' => 'text/cache-manifest',
'markdown' => 'text/x-markdown',
......@@ -332,10 +345,13 @@ class MimeMagic
'meta4' => 'application/metalink4+xml',
'metalink' => 'application/metalink+xml',
'mgp' => 'application/x-magicpoint',
'mht' => 'application/x-mimearchive',
'mhtml' => 'application/x-mimearchive',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mif' => 'application/x-mif',
'minipsf' => 'audio/x-minipsf',
'mk' => 'text/x-makefile',
'mka' => 'audio/x-matroska',
'mkd' => 'text/x-markdown',
'mkv' => 'video/x-matroska',
......@@ -411,6 +427,7 @@ class MimeMagic
'oleo' => 'application/x-oleo',
'ooc' => 'text/x-ooc',
'opml' => 'text/x-opml+xml',
'oprc' => 'application/vnd.palm',
'ora' => 'image/openraster',
'orf' => 'image/x-olympus-orf',
'otc' => 'application/vnd.oasis.opendocument.chart-template',
......@@ -427,6 +444,8 @@ class MimeMagic
'p10' => 'application/pkcs10',
'p12' => 'application/x-pkcs12',
'p7b' => 'application/x-pkcs7-certificates',
'p7c' => 'application/pkcs7-mime',
'p7m' => 'application/pkcs7-mime',
'p7s' => 'application/pkcs7-signature',
'p8' => 'application/pkcs8',
'pack' => 'application/x-java-pack200',
......@@ -441,6 +460,7 @@ class MimeMagic
'pcf.gz' => 'application/x-font-pcf',
'pcf.z' => 'application/x-font-pcf',
'pcl' => 'application/vnd.hp-pcl',
'pct' => 'image/x-pict',
'pcx' => 'image/x-pcx',
'pdb' => 'application/x-aportisdoc',
'pdc' => 'application/x-aportisdoc',
......@@ -490,6 +510,7 @@ class MimeMagic
'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pqa' => 'application/vnd.palm',
'prc' => 'application/x-mobipocket-ebook',
'ps' => 'application/postscript',
'ps.bz2' => 'application/x-bzpostscript',
......@@ -507,6 +528,8 @@ class MimeMagic
'qif' => 'application/x-qw',
'qml' => 'text/x-qml',
'qt' => 'video/quicktime',
'qti' => 'application/x-qtiplot',
'qti.gz' => 'application/x-qtiplot',
'qtif' => 'image/x-quicktime',
'qtl' => 'application/x-quicktime-media-link',
'qtvr' => 'video/quicktime',
......@@ -590,10 +613,12 @@ class MimeMagic
'spd' => 'application/x-font-speedo',
'spec' => 'text/x-rpm-spec',
'spl' => 'application/x-shockwave-flash',
'spx' => 'audio/ogg',
'spm' => 'application/x-source-rpm',
'spx' => 'audio/x-speex',
'sql' => 'text/x-sql',
'sr2' => 'image/x-sony-sr2',
'src' => 'application/x-wais-source',
'src.rpm' => 'application/x-source-rpm',
'srf' => 'image/x-sony-srf',
'srt' => 'application/x-subrip',
'ss' => 'text/x-scheme',
......@@ -632,7 +657,8 @@ class MimeMagic
'tar.lzo' => 'application/x-tzo',
'tar.xz' => 'application/x-xz-compressed-tar',
'tar.z' => 'application/x-tarz',
'taz' => 'application/x-compressed-tar',
'taz' => 'application/x-tarz',
'tb2' => 'application/x-bzip-compressed-tar',
'tbz' => 'application/x-bzip-compressed-tar',
'tbz2' => 'application/x-bzip-compressed-tar',
'tcl' => 'text/x-tcl',
......@@ -654,6 +680,7 @@ class MimeMagic
'torrent' => 'application/x-bittorrent',
'tpic' => 'image/x-tga',
'tr' => 'text/troff',
'trig' => 'application/x-trig',
'ts' => 'text/vnd.trolltech.linguist',
'tsv' => 'text/tab-separated-values',
'tta' => 'audio/x-tta',
......@@ -670,6 +697,7 @@ class MimeMagic
'uni' => 'audio/x-mod',
'url' => 'application/x-mswinurl',
'ustar' => 'application/x-ustar',
'uue' => 'text/x-uuencode',
'v' => 'text/x-verilog',
'vala' => 'text/x-vala',
'vapi' => 'text/x-vala',
......@@ -713,6 +741,7 @@ class MimeMagic
'wmls' => 'text/vnd.wap.wmlscript',
'wmv' => 'video/x-ms-wmv',
'wmx' => 'audio/x-ms-asx',
'woff' => 'application/font-woff',
'wp' => 'application/vnd.wordperfect',
'wp4' => 'application/vnd.wordperfect',
'wp5' => 'application/vnd.wordperfect',
......@@ -748,6 +777,7 @@ class MimeMagic
'xliff' => 'application/x-xliff',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xlr' => 'application/vnd.ms-works',
'xls' => 'application/vnd.ms-excel',
'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
......@@ -783,10 +813,12 @@ class MimeMagic
'application/annodex' => [%w(anx), %w(), 'Annodex exchange format'],
'application/atom+xml' => [%w(atom), %w(application/xml), 'Atom syndication feed'],
'application/dicom' => [%w(dcm), %w(), 'DICOM image'],
'application/docbook+xml' => [%w(docbook), %w(application/xml), 'DocBook document'],
'application/ecmascript' => [%w(es), %w(text/plain), 'ECMAScript program'],
'application/epub+zip' => [%w(epub), %w(application/zip), 'electronic book document'],
'application/font-woff' => [%w(woff), %w(), 'WOFF font'],
'application/gml+xml' => [%w(gml), %w(application/xml), 'GML document'],
'application/gnunet-directory' => [%w(gnd), %w(), 'GNUnet search file'],
'application/gzip' => [%w(gz), %w(), 'Gzip archive'],
'application/illustrator' => [%w(ai), %w(), 'Adobe Illustrator document'],
'application/javascript' => [%w(js), %w(text/x-csrc), 'JavaScript program'],
'application/mathematica' => [%w(nb), %w(text/plain), 'Mathematica Notebook'],
......@@ -805,6 +837,7 @@ class MimeMagic
'application/pgp-encrypted' => [%w(asc gpg pgp), %w(), 'PGP/MIME-encrypted message header'],
'application/pgp-keys' => [%w(asc pkr skr), %w(text/plain), 'PGP keys'],
'application/pkcs10' => [%w(p10), %w(), 'PKCS#10 certification request'],
'application/pkcs7-mime' => [%w(p7c p7m), %w(), 'PKCS#7 Message or Certificate'],
'application/pkcs7-signature' => [%w(p7s), %w(text/plain), 'detached S/MIME signature'],
'application/pkcs8' => [%w(p8), %w(), 'PKCS#8 private key'],
'application/pkix-cert' => [%w(cer), %w(), 'X.509 certificate'],
......@@ -829,6 +862,7 @@ class MimeMagic
'application/vnd.hp-pcl' => [%w(pcl), %w(), 'PCL file'],
'application/vnd.iccprofile' => [%w(icc icm), %w(), 'ICC profile'],
'application/vnd.lotus-1-2-3' => [%w(123 wk1 wk3 wk4 wks), %w(), 'Lotus 1-2-3 spreadsheet'],
'application/vnd.lotus-wordpro' => [%w(lwp), %w(), 'Lotus Word Pro'],
'application/vnd.mozilla.xul+xml' => [%w(xul), %w(application/xml), 'XUL interface document'],
'application/vnd.ms-access' => [%w(mdb), %w(), 'JET database'],
'application/vnd.ms-cab-compressed' => [%w(cab), %w(), 'Microsoft Cabinet archive'],
......@@ -847,7 +881,7 @@ class MimeMagic
'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-works' => [%w(wcm wdb wks wps xlr), %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'],
'application/vnd.oasis.opendocument.chart-template' => [%w(otc), %w(application/zip), 'ODC template'],
......@@ -878,6 +912,7 @@ class MimeMagic
'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.palm' => [%w(oprc pdb pqa prc), %w(), 'Palm OS database'],
'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'],
......@@ -900,6 +935,7 @@ class MimeMagic
'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/winhlp' => [%w(hlp), %w(), 'WinHelp help file'],
'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'],
'application/x-ace' => [%w(ace), %w(), 'ACE archive'],
......@@ -909,30 +945,31 @@ class MimeMagic
'application/x-apple-diskimage' => [%w(dmg), %w(), 'Apple disk image'],
'application/x-applix-spreadsheet' => [%w(as), %w(), 'Applix Spreadsheets spreadsheet'],
'application/x-applix-word' => [%w(aw), %w(), 'Applix Words document'],
'application/x-archive' => [%w(a), %w(), 'AR archive'],
'application/x-archive' => [%w(a ar), %w(), 'AR archive'],
'application/x-arj' => [%w(arj), %w(), 'ARJ archive'],
'application/x-asp' => [%w(asp), %w(text/plain), 'ASP page'],
'application/x-awk' => [%w(awk), %w(application/x-executable text/plain), 'AWK script'],
'application/x-bcpio' => [%w(bcpio), %w(), 'BCPIO document'],
'application/x-bittorrent' => [%w(torrent), %w(), 'BitTorrent seed file'],
'application/x-blender' => [%w(blend blend blender), %w(), 'Blender scene'],
'application/x-bzdvi' => [%w(dvi.bz2), %w(), 'TeX DVI document (bzip-compressed)'],
'application/x-bzdvi' => [%w(dvi.bz2), %w(application/x-bzip), 'TeX DVI document (bzip-compressed)'],
'application/x-bzip' => [%w(bz bz2), %w(), 'Bzip archive'],
'application/x-bzip-compressed-tar' => [%w(tar.bz tar.bz2 tbz tbz2), %w(application/x-bzip), 'Tar archive (bzip-compressed)'],
'application/x-bzpdf' => [%w(pdf.bz2), %w(), 'PDF document (bzip-compressed)'],
'application/x-bzpostscript' => [%w(ps.bz2), %w(), 'PostScript document (bzip-compressed)'],
'application/x-bzip-compressed-tar' => [%w(tar.bz tar.bz2 tb2 tbz tbz2), %w(application/x-bzip), 'Tar archive (bzip-compressed)'],
'application/x-bzpdf' => [%w(pdf.bz2), %w(application/x-bzip), 'PDF document (bzip-compressed)'],
'application/x-bzpostscript' => [%w(ps.bz2), %w(application/x-bzip), 'PostScript document (bzip-compressed)'],
'application/x-cb7' => [%w(cb7), %w(application/x-7z-compressed), 'comic book archive'],
'application/x-cbr' => [%w(cbr), %w(application/x-rar), 'comic book archive'],
'application/x-cbt' => [%w(cbt), %w(application/x-tar), 'comic book archive'],
'application/x-cbz' => [%w(cbz), %w(application/zip), 'comic book archive'],
'application/x-ccmx' => [%w(ccmx), %w(text/plain), 'CCMX color correction file'],
'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-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)'],
'application/x-compressed-tar' => [%w(tar.gz tgz), %w(application/gzip), 'Tar archive (gzip-compressed)'],
'application/x-cpio' => [%w(cpio), %w(), 'CPIO archive'],
'application/x-cpio-compressed' => [%w(cpio.gz), %w(), 'CPIO archive (gzip-compressed)'],
'application/x-cpio-compressed' => [%w(cpio.gz), %w(application/gzip), 'CPIO archive (gzip-compressed)'],
'application/x-csh' => [%w(csh), %w(application/x-shellscript text/plain), 'C shell script'],
'application/x-cue' => [%w(cue), %w(text/plain), 'CD image cuesheet'],
'application/x-dar' => [%w(dar), %w(), 'DAR archive'],
......@@ -943,6 +980,7 @@ class MimeMagic
'application/x-desktop' => [%w(desktop kdelnk), %w(text/plain), 'desktop configuration file'],
'application/x-dia-diagram' => [%w(dia), %w(application/xml), 'Dia diagram'],
'application/x-dia-shape' => [%w(shape), %w(application/xml), 'Dia shape'],
'application/x-docbook+xml' => [%w(docbook), %w(application/xml), 'DocBook document'],
'application/x-dvi' => [%w(dvi), %w(), 'TeX DVI document'],
'application/x-e-theme' => [%w(etheme), %w(), 'Enlightenment theme'],
'application/x-egon' => [%w(egon), %w(), 'Egon Animator animation'],
......@@ -968,11 +1006,11 @@ class MimeMagic
'application/x-gnuplot' => [%w(gnuplot gp gplt), %w(text/plain), 'Gnuplot document'],
'application/x-go-sgf' => [%w(sgf), %w(text/plain), 'SGF record'],
'application/x-graphite' => [%w(gra), %w(), 'Graphite scientific graph'],
'application/x-gz-font-linux-psf' => [%w(psf.gz), %w(application/x-gzip), 'Linux PSF console font (gzip-compressed)'],
'application/x-gzdvi' => [%w(dvi.gz), %w(application/x-gzip), 'TeX DVI document (gzip-compressed)'],
'application/x-gzip' => [%w(gz), %w(), 'Gzip archive'],
'application/x-gzpdf' => [%w(pdf.gz), %w(application/x-gzip), 'PDF document (gzip-compressed)'],
'application/x-gzpostscript' => [%w(ps.gz), %w(application/x-gzip), 'PostScript document (gzip-compressed)'],
'application/x-gtk-builder' => [%w(ui), %w(application/xml), 'GTK+ Builder'],
'application/x-gz-font-linux-psf' => [%w(psf.gz), %w(application/gzip), 'Linux PSF console font (gzip-compressed)'],
'application/x-gzdvi' => [%w(dvi.gz), %w(application/gzip), 'TeX DVI document (gzip-compressed)'],
'application/x-gzpdf' => [%w(pdf.gz), %w(application/gzip), 'PDF document (gzip-compressed)'],
'application/x-gzpostscript' => [%w(ps.gz), %w(application/gzip), 'PostScript document (gzip-compressed)'],
'application/x-hdf' => [%w(h4 h5 hdf hdf4 hdf5), %w(), 'HDF document'],
'application/x-hwp' => [%w(hwp), %w(), 'Haansoft Hangul document'],
'application/x-hwt' => [%w(hwt), %w(), 'Haansoft Hangul document template'],
......@@ -1008,12 +1046,13 @@ class MimeMagic
'application/x-lyx' => [%w(lyx), %w(text/plain), 'LyX document'],
'application/x-lzip' => [%w(lz), %w(), 'Lzip archive'],
'application/x-lzma' => [%w(lzma), %w(), 'LZMA archive'],
'application/x-lzma-compressed-tar' => [%w(tar.lzma tlz), %w(), 'Tar archive (LZMA-compressed)'],
'application/x-lzma-compressed-tar' => [%w(tar.lzma tlz), %w(application/x-lzma), 'Tar archive (LZMA-compressed)'],
'application/x-lzop' => [%w(lzo), %w(), 'LZO archive'],
'application/x-m4' => [%w(m4), %w(text/plain), 'M4 macro'],
'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-mimearchive' => [%w(mht mhtml), %w(multipart/related), 'MHTML web archive'],
'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'],
......@@ -1031,7 +1070,6 @@ class MimeMagic
'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 php5 phps), %w(text/plain), 'PHP script'],
......@@ -1041,6 +1079,7 @@ class MimeMagic
'application/x-pocket-word' => [%w(psw), %w(), 'Pocket Word document'],
'application/x-pw' => [%w(pw), %w(), 'Pathetic Writer document'],
'application/x-python-bytecode' => [%w(pyc pyo), %w(), 'Python bytecode'],
'application/x-qtiplot' => [%w(qti qti.gz), %w(text/plain), 'QtiPlot document'],
'application/x-quattropro' => [%w(wb1 wb2 wb3), %w(), 'Quattro Pro spreadsheet'],
'application/x-quicktime-media-link' => [%w(qtl), %w(video/quicktime), 'QuickTime metalink playlist'],
'application/x-qw' => [%w(qif), %w(), 'Quicken document'],
......@@ -1058,6 +1097,7 @@ class MimeMagic
'application/x-smaf' => [%w(mmf smaf), %w(), 'SMAF audio'],
'application/x-sms-rom' => [%w(gg sms), %w(), 'Sega Master System/Game Gear ROM'],
'application/x-snes-rom' => [%w(smc), %w(), 'Super NES ROM'],
'application/x-source-rpm' => [%w(spm src.rpm), %w(application/x-rpm), 'Source RPM package'],
'application/x-spss-por' => [%w(por), %w(), 'SPSS Portable Data File'],
'application/x-spss-sav' => [%w(sav), %w(), 'SPSS Data File'],
'application/x-stuffit' => [%w(sit), %w(), 'StuffIt archive'],
......@@ -1066,14 +1106,15 @@ class MimeMagic
'application/x-sv4crc' => [%w(sv4crc), %w(), 'SV4 CPIO archive (with CRC)'],
'application/x-t602' => [%w(602), %w(), 'T602 document'],
'application/x-tar' => [%w(gem gtar tar), %w(), 'Tar archive'],
'application/x-tarz' => [%w(tar.z), %w(), 'Tar archive (compressed)'],
'application/x-tarz' => [%w(tar.z taz), %w(application/x-compress), 'Tar archive (compressed)'],
'application/x-tex-gf' => [%w(gf), %w(), 'generic font file'],
'application/x-tex-pk' => [%w(pk), %w(), 'packed font file'],
'application/x-tgif' => [%w(obj), %w(), 'TGIF document'],
'application/x-theme' => [%w(theme), %w(application/x-desktop), 'theme'],
'application/x-trash' => [%w(bak old sik), %w(), 'backup file'],
'application/x-trig' => [%w(trig), %w(text/plain), 'TriG RDF document'],
'application/x-troff-man' => [%w(man), %w(text/plain), 'Troff document (with manpage macros)'],
'application/x-tzo' => [%w(tar.lzo tzo), %w(), 'Tar archive (LZO-compressed)'],
'application/x-tzo' => [%w(tar.lzo tzo), %w(application/x-lzop), 'Tar archive (LZO-compressed)'],
'application/x-ufraw' => [%w(ufraw), %w(text/xml), 'UFRaw ID image'],
'application/x-ustar' => [%w(ustar), %w(), 'Ustar archive'],
'application/x-wais-source' => [%w(src), %w(), 'WAIS source code'],
......@@ -1085,7 +1126,7 @@ class MimeMagic
'application/x-xliff' => [%w(xlf xliff), %w(application/xml), 'XLIFF translation file'],
'application/x-xpinstall' => [%w(xpi), %w(application/zip), 'XPInstall installer module'],
'application/x-xz' => [%w(xz), %w(), 'XZ archive'],
'application/x-xz-compressed-tar' => [%w(tar.xz txz), %w(), 'Tar archive (XZ-compressed)'],
'application/x-xz-compressed-tar' => [%w(tar.xz txz), %w(application/x-xz), 'Tar archive (XZ-compressed)'],
'application/x-xzpdf' => [%w(pdf.xz), %w(application/x-xz), 'PDF document (XZ-compressed)'],
'application/x-yaml' => [%w(yaml yml), %w(text/plain), 'YAML document'],
'application/x-zoo' => [%w(zoo), %w(), 'Zoo archive'],
......@@ -1098,20 +1139,25 @@ class MimeMagic
'application/zip' => [%w(zip), %w(), 'Zip archive'],
'audio/AMR' => [%w(amr), %w(), 'AMR audio'],
'audio/AMR-WB' => [%w(awb), %w(), 'AMR-WB audio'],
'audio/aac' => [%w(aac), %w(), 'AAC audio'],
'audio/ac3' => [%w(ac3), %w(), 'Dolby Digital audio'],
'audio/annodex' => [%w(axa), %w(application/annodex), 'Annodex Audio'],
'audio/basic' => [%w(au snd), %w(), 'ULAW (Sun) audio'],
'audio/flac' => [%w(flac), %w(), 'FLAC audio'],
'audio/midi' => [%w(kar mid midi), %w(), 'MIDI audio'],
'audio/mp2' => [%w(mp2), %w(), 'MP2 audio'],
'audio/mp4' => [%w(aac f4a m4a), %w(), 'MPEG-4 audio'],
'audio/mp4' => [%w(f4a m4a), %w(), 'MPEG-4 audio'],
'audio/mpeg' => [%w(mp3 mpga), %w(), 'MP3 audio'],
'audio/ogg' => [%w(oga ogg spx), %w(application/ogg), 'Ogg Audio'],
'audio/ogg' => [%w(oga ogg), %w(application/ogg), 'Ogg Audio'],
'audio/prs.sid' => [%w(psid sid), %w(), 'Commodore 64 audio'],
'audio/vnd.dts' => [%w(dts), %w(), 'DTS audio'],
'audio/vnd.dts.hd' => [%w(dtshd), %w(audio/vnd.dts), 'DTSHD audio'],
'audio/vnd.rn-realaudio' => [%w(ra rax), %w(), 'RealAudio document'],
'audio/x-aiff' => [%w(aif aifc aiff), %w(), 'AIFF/Amiga/Mac audio'],
'audio/x-aifc' => [%w(aifc aiffc), %w(application/x-iff), 'AIFC audio'],
'audio/x-aiff' => [%w(aif aiff), %w(application/x-iff), 'AIFF/Amiga/Mac audio'],
'audio/x-amzxml' => [%w(amz), %w(), 'AmazonMP3 download file'],
'audio/x-ape' => [%w(ape), %w(), "Monkey's audio"],
'audio/x-flac+ogg' => [%w(ogg), %w(audio/ogg), 'Ogg FLAC audio'],
'audio/x-flac+ogg' => [%w(oga ogg), %w(audio/ogg), 'Ogg FLAC audio'],
'audio/x-gsm' => [%w(gsm), %w(), 'GSM 06.10 audio'],
'audio/x-iriver-pla' => [%w(pla), %w(), 'iRiver Playlist'],
'audio/x-it' => [%w(it), %w(), 'Impulse Tracker audio'],
......@@ -1129,11 +1175,11 @@ class MimeMagic
'audio/x-s3m' => [%w(s3m), %w(), 'Scream Tracker 3 audio'],
'audio/x-scpls' => [%w(pls), %w(), 'MP3 ShoutCast playlist'],
'audio/x-speex' => [%w(spx), %w(), 'Speex audio'],
'audio/x-speex+ogg' => [%w(ogg), %w(audio/ogg), 'Ogg Speex audio'],
'audio/x-speex+ogg' => [%w(oga ogg), %w(audio/ogg), 'Ogg Speex audio'],
'audio/x-stm' => [%w(stm), %w(), 'Scream Tracker audio'],
'audio/x-tta' => [%w(tta), %w(), 'TrueAudio audio'],
'audio/x-voc' => [%w(voc), %w(), 'VOC audio'],
'audio/x-vorbis+ogg' => [%w(ogg), %w(audio/ogg), 'Ogg Vorbis audio'],
'audio/x-vorbis+ogg' => [%w(oga ogg), %w(audio/ogg), 'Ogg Vorbis audio'],
'audio/x-wav' => [%w(wav), %w(), 'WAV audio'],
'audio/x-wavpack' => [%w(wv wvp), %w(), 'WavPack audio'],
'audio/x-wavpack-correction' => [%w(wvc), %w(), 'WavPack audio correction file'],
......@@ -1152,7 +1198,7 @@ class MimeMagic
'image/png' => [%w(png), %w(), 'PNG image'],
'image/rle' => [%w(rle), %w(), 'Run Length Encoded bitmap image'],
'image/svg+xml' => [%w(svg), %w(application/xml), 'SVG image'],
'image/svg+xml-compressed' => [%w(svgz), %w(application/x-gzip), 'compressed SVG image'],
'image/svg+xml-compressed' => [%w(svgz), %w(application/gzip), 'compressed SVG image'],
'image/tiff' => [%w(tif tiff), %w(), 'TIFF image'],
'image/vnd.adobe.photoshop' => [%w(psd), %w(), 'Photoshop image'],
'image/vnd.djvu' => [%w(djv djvu), %w(), 'DjVu image'],
......@@ -1164,8 +1210,9 @@ class MimeMagic
'image/vnd.wap.wbmp' => [%w(wbmp), %w(), 'WBMP image'],
'image/x-3ds' => [%w(3ds), %w(), '3D Studio image'],
'image/x-adobe-dng' => [%w(dng), %w(image/tiff image/x-dcraw), 'Adobe DNG negative'],
'image/x-apple-ios-png' => [%w(png), %w(), 'Apple optimised PNG image'],
'image/x-applix-graphics' => [%w(ag), %w(), 'Applix Graphics image'],
'image/x-bzeps' => [%w(eps.bz2 epsf.bz2 epsi.bz2), %w(), 'EPS image (bzip-compressed)'],
'image/x-bzeps' => [%w(eps.bz2 epsf.bz2 epsi.bz2), %w(application/x-bzip), 'EPS image (bzip-compressed)'],
'image/x-canon-cr2' => [%w(cr2), %w(image/tiff image/x-dcraw), 'Canon CR2 raw image'],
'image/x-canon-crw' => [%w(crw), %w(image/x-dcraw), 'Canon CRW raw image'],
'image/x-cmu-raster' => [%w(ras), %w(), 'CMU raster image'],
......@@ -1175,10 +1222,9 @@ class MimeMagic
'image/x-eps' => [%w(eps epsf epsi), %w(application/postscript), 'EPS image'],
'image/x-exr' => [%w(exr), %w(), 'EXR image'],
'image/x-fuji-raf' => [%w(raf), %w(image/x-dcraw), 'Fuji RAF raw image'],
'image/x-gzeps' => [%w(eps.gz epsf.gz epsi.gz), %w(), 'EPS image (gzip-compressed)'],
'image/x-gzeps' => [%w(eps.gz epsf.gz epsi.gz), %w(application/gzip), 'EPS image (gzip-compressed)'],
'image/x-icns' => [%w(icns), %w(), 'MacOS X icon'],
'image/x-iff' => [%w(iff), %w(), 'IFF image'],
'image/x-ilbm' => [%w(ilbm), %w(), 'ILBM image'],
'image/x-ilbm' => [%w(iff ilbm lbm), %w(application/x-iff), 'ILBM image'],
'image/x-jng' => [%w(jng), %w(), 'JNG image'],
'image/x-kodak-dcr' => [%w(dcr), %w(image/tiff image/x-dcraw), 'Kodak DCR raw image'],
'image/x-kodak-k25' => [%w(k25), %w(image/tiff image/x-dcraw), 'Kodak K25 raw image'],
......@@ -1195,7 +1241,7 @@ class MimeMagic
'image/x-pcx' => [%w(pcx), %w(), 'PCX image'],
'image/x-pentax-pef' => [%w(pef), %w(image/tiff image/x-dcraw), 'Pentax PEF raw image'],
'image/x-photo-cd' => [%w(pcd), %w(), 'PCD image'],
'image/x-pict' => [%w(pict pict1 pict2), %w(), 'Macintosh Quickdraw/PICT drawing'],
'image/x-pict' => [%w(pct pict pict1 pict2), %w(), 'Macintosh Quickdraw/PICT drawing'],
'image/x-portable-anymap' => [%w(pnm), %w(), 'PNM image'],
'image/x-portable-bitmap' => [%w(pbm), %w(image/x-portable-anymap), 'PBM image'],
'image/x-portable-graymap' => [%w(pgm), %w(image/x-portable-anymap), 'PGM image'],
......@@ -1249,7 +1295,7 @@ class MimeMagic
'text/x-csrc' => [%w(c), %w(text/plain), 'C source code'],
'text/x-dcl' => [%w(dcl), %w(text/plain), 'DCL script'],
'text/x-dsl' => [%w(dsl), %w(text/plain), 'DSSSL document'],
'text/x-dsrc' => [%w(d), %w(text/x-csrc), 'D source code'],
'text/x-dsrc' => [%w(d di), %w(text/x-csrc), 'D source code'],
'text/x-eiffel' => [%w(e eif), %w(text/plain), 'Eiffel source code'],
'text/x-emacs-lisp' => [%w(el), %w(text/plain), 'Emacs Lisp source code'],
'text/x-erlang' => [%w(erl), %w(text/plain), 'Erlang source code'],
......@@ -1268,10 +1314,12 @@ 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-makefile' => [%w(mak mk), %w(text/plain), 'Makefile'],
'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'],
'text/x-modelica' => [%w(mo), %w(text/plain), 'Modelica model'],
'text/x-mof' => [%w(mof), %w(text/x-csrc), 'Managed Object Format'],
'text/x-mpsub' => [%w(sub), %w(text/plain), 'MPSub subtitles'],
'text/x-mrml' => [%w(mrl mrml), %w(), 'MRML playlist'],
......@@ -1305,6 +1353,7 @@ 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-uuencode' => [%w(uue), %w(text/plain), 'uuencoded file'],
'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'],
......@@ -1317,7 +1366,7 @@ class MimeMagic
'video/mp2t' => [%w(bdm bdmv clpi cpi m2t m2ts mpl mpls mts ts), %w(), 'MPEG-2 transport stream'],
'video/mp4' => [%w(f4v m4v mp4), %w(), 'MPEG-4 video'],
'video/mpeg' => [%w(mp2 mpe mpeg mpg vob), %w(), 'MPEG video'],
'video/ogg' => [%w(ogv), %w(application/ogg), 'Ogg Video'],
'video/ogg' => [%w(ogg 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)'],
......@@ -1330,20 +1379,21 @@ class MimeMagic
'video/x-mng' => [%w(mng), %w(), 'MNG animation'],
'video/x-ms-asf' => [%w(asf), %w(), 'ASF video'],
'video/x-ms-wmv' => [%w(wmv), %w(video/x-ms-asf), 'Windows Media video'],
'video/x-msvideo' => [%w(avi divx), %w(), 'AVI video'],
'video/x-msvideo' => [%w(avf avi divx), %w(), 'AVI video'],
'video/x-nsv' => [%w(nsv), %w(), 'NullSoft video'],
'video/x-ogm+ogg' => [%w(ogm), %w(video/ogg), 'OGM video'],
'video/x-sgi-movie' => [%w(movie), %w(), 'SGI video'],
'video/x-theora+ogg' => [%w(ogg), %w(video/ogg), 'Ogg Theora video'],
'video/x-theora+ogg' => [%w(ogg ogv), %w(video/ogg), 'Ogg Theora video'],
'x-epoc/x-sisx-app' => [%w(sisx), %w(), 'SISX package'],
}
MAGIC = [
['application/annodex', [[0, 'OggS', [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
['application/atom+xml', [[0..256, '<feed ']]],
['application/dicom', [[128, 'DICM']]],
['application/docbook+xml', [[0, '<?xml', [[0..100, '-//OASIS//DTD DocBook XML'], [0..100, '-//KDE//DTD DocBook XML']]]]],
['application/epub+zip', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/epub+zip']]]]]]],
['application/font-woff', [[0, 'wOFF']]],
['application/gnunet-directory', [[0, "\211GND\r\n\032\n"]]],
['application/gzip', [[0, "\037\213"]]],
['application/mac-binhex40', [[11, 'must be converted with BinHex']]],
['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']]],
['application/mbox', [[0, 'From ']]],
......@@ -1367,6 +1417,7 @@ class MimeMagic
['application/vnd.emusic-emusic_package', [[0, 'nF7YLao']]],
['application/vnd.iccprofile', [[36, 'acsp']]],
['application/vnd.lotus-1-2-3', [[0, "\000\000\002\000\006\004\006\000\b\000\000\000\000\000"]]],
['application/vnd.lotus-wordpro', [[0, 'WordPro']]],
['application/vnd.ms-access', [[0, "\000\001\000\000Standard Jet DB"]]],
['application/vnd.ms-cab-compressed', [[0, "MSCF\000\000\000\000"]]],
['application/vnd.ms-excel', [[2080, 'Microsoft Excel 5.0 Worksheet']]],
......@@ -1402,6 +1453,7 @@ class MimeMagic
['application/vnd.symbian.install', [[8, "\031\004\000\020"]]],
['application/vnd.tcpdump.pcap', [[0, "\324\303\262\241"], [0, "\241\262\303\324"]]],
['application/vnd.wordperfect', [[1, 'WPC']]],
['application/winhlp', [[0, "?_\003\000"]]],
['application/x-7z-compressed', [[0, "7z\274\257'\034"]]],
['application/x-abiword', [[0..256, '<abiword'], [0..256, '<!DOCTYPE abiword']]],
['application/x-ace', [[7, '**ACE**']]],
......@@ -1416,6 +1468,7 @@ class MimeMagic
['application/x-bittorrent', [[0, 'd8:announce']]],
['application/x-blender', [[0, 'BLENDER']]],
['application/x-bzip', [[0, 'BZh']]],
['application/x-ccmx', [[0, 'CCMX']]],
['application/x-cdrdao-toc', [[0, "CD_ROM\n"], [0, "CD_DA\n"], [0, "CD_ROM_XA\n"], [0, 'CD_TEXT '], [0, "CATALOG \"", [[22, "\""]]]]],
['application/x-chess-pgn', [[0, '[Event ']]],
['application/x-cisco-vpn-settings', [[0, '[main]', [[0..256, 'AuthType=']]]]],
......@@ -1429,6 +1482,7 @@ class MimeMagic
['application/x-desktop', [[0..32, '[Desktop Entry]'], [0, '[Desktop Action'], [0, '[KDE Desktop Entry]'], [0, '# Config File'], [0, '# KDE Config File']]],
['application/x-dia-diagram', [[5..100, '<dia:']]],
['application/x-dia-shape', [[5..100, '<shape']]],
['application/x-docbook+xml', [[0, '<?xml', [[0..100, '-//OASIS//DTD DocBook XML'], [0..100, '-//KDE//DTD DocBook XML']]]]],
['application/x-dvi', [[0, "\367\002"]]],
['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/x-fictionbook+xml', [[0..256, '<FictionBook']]],
......@@ -1452,14 +1506,16 @@ class MimeMagic
['application/x-gdbm', [[0, "\023W\232\316"], [0, "\316\232W\023"], [0, 'GDBM']]],
['application/x-gedcom', [[0, '0 HEAD']]],
['application/x-genesis-rom', [[256, 'SEGA'], [640, 'EAGN'], [640, 'EAMG']]],
['application/x-gettext-translation', [[0, "\336\022\004\225"], [0, "\225\004\022\336"]]],
['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']]],
['application/x-go-sgf', [[0, '(;FF[3]'], [0, '(;FF[4]']]],
['application/x-gtk-builder', [[0..256, '<interface']]],
['application/x-gtktalog', [[4, 'gtktalog ']]],
['application/x-gzip', [[0, "\037\213"]]],
['application/x-hdf', [[0, "\211HDF\r\n\032\n"], [0, "\016\003\023\001"]]],
['application/x-hwp', [[0, 'HWP Document File']]],
['application/x-iff', [[0, 'FORM']]],
['application/x-ipod-firmware', [[0, 'S T O P']]],
['application/x-it87', [[0, 'IT8.7']]],
['application/x-java', [[0, "\312\376\272\276"]]],
......@@ -1507,6 +1563,7 @@ class MimeMagic
['application/x-php', [[0..64, '<?php']]],
['application/x-pocket-word', [[0, "{\\pwi"]]],
['application/x-python-bytecode', [[0, "\231N\r\n"]]],
['application/x-qtiplot', [[0, 'QtiPlot']]],
['application/x-quicktime-media-link', [[0, '<?xml', [[0..64, '<?quicktime']]], [0, 'RTSPtext'], [0, 'rtsptext'], [0, 'SMILtext']]],
['application/x-rar', [[0, 'Rar!']]],
['application/x-rpm', [[0, "\355\253\356\333"]]],
......@@ -1538,6 +1595,7 @@ class MimeMagic
['application/zip', [[0, "PK\003\004"]]],
['audio/AMR', [[0, "#!AMR\n"], [0, "#!AMR_MC1.0\n"]]],
['audio/AMR-WB', [[0, "#!AMR-WB\n"], [0, "#!AMR-WB_MC1.0\n"]]],
['audio/aac', [[0, 'ADIF']]],
['audio/ac3', [[0, "\vw"]]],
['audio/annodex', [[0, 'OggS', [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
['audio/basic', [[0, '.snd']]],
......@@ -1547,9 +1605,11 @@ class MimeMagic
['audio/mpeg', [[0, "\377\373"], [0, 'ID3']]],
['audio/ogg', [[0, 'OggS']]],
['audio/prs.sid', [[0, 'PSID']]],
['audio/vnd.dts', [[0, "\177\376\200\001"], [0, "\200\001\177\376"], [0, "\037\377\350\000"], [0, "\350\000\037\377"]]],
['audio/vnd.dts.hd', [[0..18725, 'dX %']]],
['audio/x-adpcm', [[0, '.snd', [[12, "\000\000\000\027"]]], [0, ".sd\000", [[12, "\001\000\000\000"], [12, "\002\000\000\000"], [12, "\003\000\000\000"], [12, "\004\000\000\000"], [12, "\005\000\000\000"], [12, "\006\000\000\000"], [12, "\a\000\000\000"], [12, "\027\000\000\000"]]]]],
['audio/x-aifc', [[8, 'AIFC']]],
['audio/x-aiff', [[8, 'AIFF'], [8, 'AIFC'], [8, '8SVX']]],
['audio/x-aiff', [[8, 'AIFF'], [8, '8SVX']]],
['audio/x-ape', [[0, 'MAC ']]],
['audio/x-flac+ogg', [[0, 'OggS', [[28, 'fLaC']]], [0, 'OggS', [[28, "\177FLAC"]]]]],
['audio/x-iriver-pla', [[4, 'iriver UMS PLA']]],
......@@ -1571,7 +1631,7 @@ class MimeMagic
['audio/x-wav', [[8, 'WAVE'], [8, 'WAV ']]],
['audio/x-wavpack', [[0, 'wvpk']]],
['audio/x-wavpack-correction', [[0, 'wvpk']]],
['audio/x-xi', [[0, 'Extended Intrument:']]],
['audio/x-xi', [[0, 'Extended Instrument:']]],
['audio/x-xm', [[0, 'Extended Module:']]],
['audio/x-xmf', [[0, 'XMF_'], [0, "XMF_2.00\000\000\000\002"]]],
['image/bmp', [[0, 'BM', [[14, "\f"], [14, '@'], [14, '(']]]]],
......@@ -1589,16 +1649,18 @@ class MimeMagic
['image/vnd.dxf', [[0..64, "\nHEADER\n"], [0..64, "\r\nHEADER\r\n"]]],
['image/vnd.microsoft.icon', [[0, "\000\000\001\000", [[5, "\000"]]]]],
['image/vnd.ms-modi', [[0, "EP*\000"]]],
['image/x-apple-ios-png', [[0, "\211PNG", [[12, 'CgBI']]]]],
['image/x-applix-graphics', [[0, '*BEGIN', [[7, 'GRAPHICS']]]]],
['image/x-canon-crw', [[0, "II\032\000\000\000HEAPCCDR"]]],
['image/x-dds', [[0, 'DDS']]],
['image/x-dib', [[0, "(\000\000\000"]]],
['image/x-emf', [[0, "\001\000\000\000", [[40, ' EMF', [[44, "\000\000\001\000", [[58, "\000\000"]]]]]]]]],
['image/x-eps', [[0, '%!', [[15, 'EPS']]], [0, "\004%!", [[16, 'EPS']]]]],
['image/x-eps', [[0, '%!', [[15, 'EPS']]], [0, "\004%!", [[16, 'EPS']]], [0, "\305\320\323\306"]]],
['image/x-exr', [[0, "v/1\001"]]],
['image/x-fpx', [[0, 'FPix']]],
['image/x-fuji-raf', [[0, 'FUJIFILMCCD-RAW ']]],
['image/x-icns', [[0, 'icns']]],
['image/x-ilbm', [[8, 'ILBM'], [8, 'PBM ']]],
['image/x-kodak-kdc', [[242, 'EASTMAN KODAK COMPANY']]],
['image/x-minolta-mrw', [[0, "\000MRM"]]],
['image/x-niff', [[0, 'IIN1']]],
......@@ -1606,6 +1668,8 @@ class MimeMagic
['image/x-panasonic-raw', [[0, "IIU\000\b\000\000\000"]]],
['image/x-panasonic-raw2', [[0, "IIU\000\030\000\000\000"]]],
['image/x-pcx', [[0, "\n", [[1, "\000"], [1, "\002"], [1, "\003"], [1, "\005"]]]]],
['image/x-pict', [[10, "\000\021", [[12, "\002\377", [[14, "\f\000", [[16, "\377\376"]]]]]]]]],
['image/x-pict', [[522, "\000\021", [[524, "\002\377", [[526, "\f\000", [[528, "\377\376"]]]]]]]]],
['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"]]]]],
......@@ -1613,10 +1677,11 @@ class MimeMagic
['image/x-sigma-x3f', [[0, 'FOVb']]],
['image/x-skencil', [[0, '##Sketch']]],
['image/x-sun-raster', [[0, "Y\246j\225"]]],
['image/x-tga', [[1, "\001\001"], [1, "\0019"], [1, "\000\003"], [1, "\000\n"], [1, "\000\v"], [1, "\000\002"]]],
['image/x-tga', [[1, "\000\002", [[16, "\b"], [16, "\020"], [16, "\030"], [16, ' ']]]]],
['image/x-tga', [[1, "\001\001"], [1, "\0019"], [1, "\000\003"], [1, "\000\n"], [1, "\000\v"]]],
['image/x-win-bitmap', [[0, "\000\000\002\000", [[5, "\000"]]]]],
['image/x-wmf', [[0, "\327\315\306\232", [[22, "\001\000", [[24, "\t\000"]]]]], [0, "\001\000", [[2, "\t\000"]]]]],
['image/x-xcf', [[0, 'gimp xcf file']]],
['image/x-xcf', [[0, 'gimp xcf file'], [0, 'gimp xcf v001'], [0, 'gimp xcf v002']]],
['image/x-xcursor', [[0, 'Xcur']]],
['image/x-xfig', [[0, '#FIG']]],
['image/x-xpixmap', [[0, '/* XPM']]],
......@@ -1636,6 +1701,7 @@ class MimeMagic
['text/x-bibtex', [[0, '% This file was created with JabRef']]],
['text/x-csrc', [[0, '/*'], [0, '//'], [0, '#include']]],
['text/x-emacs-lisp', [[0, "\n("], [0, ";ELC\023\000\000\000"]]],
['text/x-gettext-translation-template', [[0..256, "#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version:"]]],
['text/x-google-video-pointer', [[0, '#.download.the.free.Google.Video.Player'], [0, '# download the free Google Video Player']]],
['text/x-iMelody', [[0, 'BEGIN:IMELODY']]],
['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']]]]]]],
......@@ -1646,6 +1712,11 @@ class MimeMagic
['text/x-matlab', [[0, '%']]],
['text/x-matlab', [[0, 'function']]],
['text/x-microdvd', [[0, '{1}'], [0, '{0}'], [0..6, '}{']]],
['text/x-modelica', [[0, '//']]],
['text/x-modelica', [[0, 'class']]],
['text/x-modelica', [[0, 'function']]],
['text/x-modelica', [[0, 'model']]],
['text/x-modelica', [[0, 'record']]],
['text/x-mpsub', [[0..256, 'FORMAT=']]],
['text/x-mrml', [[0, '<mrml ']]],
['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"]]],
......@@ -1661,6 +1732,7 @@ class MimeMagic
['text/x-tex', [[0, '%']]],
['text/x-tex', [[1, 'documentclass']]],
['text/x-txt2tags', [[0, '%!postproc'], [0, '%!encoding']]],
['text/x-uuencode', [[0, 'begin ']]],
['text/xmcd', [[0, '# xmcd']]],
['video/3gpp', [[4, 'ftyp3ge'], [4, 'ftyp3gg'], [4, 'ftyp3gp'], [4, 'ftyp3gs']]],
['video/3gpp2', [[4, 'ftyp3g2']]],
......@@ -1676,8 +1748,9 @@ class MimeMagic
['video/x-flic', [[0, "\021\257"], [0, "\022\257"]]],
['video/x-flv', [[0, 'FLV']]],
['video/x-javafx', [[0, 'FLV']]],
['video/x-mng', [[0, "\212MNG\r\n\032\n"]]],
['video/x-ms-asf', [[0, "0&\262u"], [0, '[Reference]']]],
['video/x-msvideo', [[0, 'RIFF', [[8, 'AVI ']]]]],
['video/x-msvideo', [[0, 'RIFF', [[8, 'AVI ']]], [0, 'AVF0', [[8, 'AVI ']]]]],
['video/x-nsv', [[0, 'NSVf']]],
['video/x-ogm+ogg', [[0, 'OggS', [[29, 'video']]]]],
['video/x-sgi-movie', [[0, 'MOVI']]],
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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