logstash-input-s3-sns-sqs 1.4.8 → 1.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c857f29b851808997fb7403a5a1d4e71cd786e89
4
- data.tar.gz: f2b27edba4192969a5c6e301ac6a19c0fabbeadf
3
+ metadata.gz: f127e68fb7165c157fcb98436beb3a06b0ba615b
4
+ data.tar.gz: 00ac30ac28256139fcadb206749c726b6d614068
5
5
  SHA512:
6
- metadata.gz: a88ef9c5d505322a0639f5b77b74364ff64a9ea503ee969fad2389b38e82fa4064d9a5de85edd8767d80b0e8e9422a576e620831d63bee1c049da6e61137ab3d
7
- data.tar.gz: 5a3fbe6296dbaee8a3c95d93ef6ba39f849326f1a138a95b949f351e4f570201b4af9a6db59899e90ef993b900a4a8f5cbc7d9587eb0420ee4df1561b46b766a
6
+ metadata.gz: 19485506876837245cb4524e5eab409959973f3153c263377179788743dfc1e65c69c0b230019819df69967f13582351a06ba6e503d04b03f46e34e54db6c787
7
+ data.tar.gz: 5c887f49007c9b8c1dcd142451c1aba3060c90c3cf8188f9ef100b840f182ae5d14aebfda04dfaba048c3f0148582afd43b4f3019a8e19e35740aa0abad45937
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 1.4.9
2
+ - Feature: Detect filetype with MagicByte
1
3
  ## 1.4.8
2
4
  - Bufix: CF Metadata events Bug #7
3
5
  - Feature: use aws-role for s3 client connection.
@@ -0,0 +1,7 @@
1
+ # Extra magic
2
+
3
+ [['application/vnd.openxmlformats-officedocument.presentationml.presentation', [[0, "PK\003\004", [[30, '[Content_Types].xml', [[0..5000, 'ppt/']]]]]]],
4
+ ['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', [[0, "PK\003\004", [[30, '[Content_Types].xml', [[0..5000, 'xl/']]]]]]],
5
+ ['application/vnd.openxmlformats-officedocument.wordprocessingml.document', [[0, "PK\003\004", [[30, '[Content_Types].xml', [[0..5000, 'word/']]]]]]]].each do |magic|
6
+ MimeMagic.add(magic[0], magic: magic[1])
7
+ end
@@ -0,0 +1,1580 @@
1
+ # -*- coding: binary -*-
2
+ # Generated from script/freedesktop.org.xml
3
+ class MimeMagic
4
+ # @private
5
+ # :nodoc:
6
+ EXTENSIONS = {
7
+ '7z' => 'application/x-7z-compressed',
8
+ 'a' => 'application/x-archive',
9
+ 'adb' => 'text/x-adasrc',
10
+ 'al' => 'application/x-perl',
11
+ 'alz' => 'application/x-alz',
12
+ 'apk' => 'application/vnd.android.package-archive',
13
+ 'ar' => 'application/x-archive',
14
+ 'arj' => 'application/x-arj',
15
+ 'arw' => 'image/x-sony-arw',
16
+ 'asc' => 'application/pgp-encrypted',
17
+ 'asf' => 'application/vnd.ms-asf',
18
+ 'asp' => 'application/x-asp',
19
+ 'ass' => 'text/x-ssa',
20
+ 'atom' => 'application/atom+xml',
21
+ 'aw' => 'application/x-applix-word',
22
+ 'awk' => 'application/x-awk',
23
+ 'bak' => 'application/x-trash',
24
+ 'bcpio' => 'application/x-bcpio',
25
+ 'bdf' => 'application/x-font-bdf',
26
+ 'bib' => 'text/x-bibtex',
27
+ 'bin' => 'application/octet-stream',
28
+ 'bz' => 'application/x-bzip',
29
+ 'bz2' => 'application/x-bzip',
30
+ 'c' => 'text/x-c++src',
31
+ 'c++' => 'text/x-c++src',
32
+ 'cab' => 'application/vnd.ms-cab-compressed',
33
+ 'cap' => 'application/vnd.tcpdump.pcap',
34
+ 'cb7' => 'application/x-cb7',
35
+ 'cbl' => 'text/x-cobol',
36
+ 'cbr' => 'application/x-cbr',
37
+ 'cbt' => 'application/x-cbt',
38
+ 'cbz' => 'application/x-cbz',
39
+ 'cc' => 'text/x-c++src',
40
+ 'ccmx' => 'application/x-ccmx',
41
+ 'cdf' => 'application/x-netcdf',
42
+ 'cdr' => 'application/vnd.corel-draw',
43
+ 'cer' => 'application/pkix-cert',
44
+ 'cert' => 'application/x-x509-ca-cert',
45
+ 'cgm' => 'image/cgm',
46
+ 'chm' => 'application/vnd.ms-htmlhelp',
47
+ 'chrt' => 'application/x-kchart',
48
+ 'class' => 'application/x-java',
49
+ 'cls' => 'text/x-tex',
50
+ 'cmake' => 'text/x-cmake',
51
+ 'cob' => 'text/x-cobol',
52
+ 'coffee' => 'application/vnd.coffeescript',
53
+ 'cpio' => 'application/x-cpio',
54
+ 'cpio.gz' => 'application/x-cpio-compressed',
55
+ 'cpp' => 'text/x-c++src',
56
+ 'crdownload' => 'application/x-partial-download',
57
+ 'crl' => 'application/pkix-crl',
58
+ 'crt' => 'application/x-x509-ca-cert',
59
+ 'crw' => 'image/x-canon-crw',
60
+ 'cs' => 'text/x-csharp',
61
+ 'csh' => 'application/x-csh',
62
+ 'css' => 'text/css',
63
+ 'csv' => 'text/csv',
64
+ 'csvs' => 'text/csv-schema',
65
+ 'cue' => 'application/x-cue',
66
+ 'cxx' => 'text/x-c++src',
67
+ 'd' => 'text/x-dsrc',
68
+ 'dar' => 'application/x-dar',
69
+ 'dbf' => 'application/x-dbf',
70
+ 'dbk' => 'application/x-docbook+xml',
71
+ 'dc' => 'application/x-dc-rom',
72
+ 'dcl' => 'text/x-dcl',
73
+ 'dcm' => 'application/dicom',
74
+ 'deb' => 'application/vnd.debian.binary-package',
75
+ 'der' => 'application/x-x509-ca-cert',
76
+ 'desktop' => 'application/x-desktop',
77
+ 'di' => 'text/x-dsrc',
78
+ 'dia' => 'application/x-dia-diagram',
79
+ 'diff' => 'text/x-patch',
80
+ 'dmp' => 'application/vnd.tcpdump.pcap',
81
+ 'doc' => 'application/msword',
82
+ 'docbook' => 'application/x-docbook+xml',
83
+ 'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
84
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
85
+ 'dot' => 'application/msword-template',
86
+ 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
87
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
88
+ 'dsl' => 'text/x-dsl',
89
+ 'dtd' => 'application/xml-dtd',
90
+ 'dtx' => 'text/x-tex',
91
+ 'dvi' => 'application/x-dvi',
92
+ 'dvi.bz2' => 'application/x-bzdvi',
93
+ 'dvi.gz' => 'application/x-gzdvi',
94
+ 'e' => 'text/x-eiffel',
95
+ 'egon' => 'application/x-egon',
96
+ 'eif' => 'text/x-eiffel',
97
+ 'el' => 'text/x-emacs-lisp',
98
+ 'eml' => 'message/rfc822',
99
+ 'emp' => 'application/vnd.emusic-emusic_package',
100
+ 'ent' => 'application/xml-external-parsed-entity',
101
+ 'epub' => 'application/epub+zip',
102
+ 'erl' => 'text/x-erlang',
103
+ 'es' => 'application/ecmascript',
104
+ 'etheme' => 'application/x-e-theme',
105
+ 'etx' => 'text/x-setext',
106
+ 'exe' => 'application/x-ms-dos-executable',
107
+ 'exr' => 'image/x-exr',
108
+ 'ez' => 'application/andrew-inset',
109
+ 'f' => 'text/x-fortran',
110
+ 'f90' => 'text/x-fortran',
111
+ 'f95' => 'text/x-fortran',
112
+ 'fb2' => 'application/x-fictionbook+xml',
113
+ 'fb2.zip' => 'application/x-zip-compressed-fb2',
114
+ 'fl' => 'application/x-fluid',
115
+ 'flw' => 'application/x-kivio',
116
+ 'fo' => 'text/x-xslfo',
117
+ 'fodg' => 'application/vnd.oasis.opendocument.graphics-flat-xml',
118
+ 'fodp' => 'application/vnd.oasis.opendocument.presentation-flat-xml',
119
+ 'fods' => 'application/vnd.oasis.opendocument.spreadsheet-flat-xml',
120
+ 'fodt' => 'application/vnd.oasis.opendocument.text-flat-xml',
121
+ 'for' => 'text/x-fortran',
122
+ 'g3' => 'image/fax-g3',
123
+ 'gb' => 'application/x-gameboy-rom',
124
+ 'gba' => 'application/x-gba-rom',
125
+ 'gbc' => 'application/x-gameboy-rom',
126
+ 'gcrd' => 'text/vcard',
127
+ 'ged' => 'application/x-gedcom',
128
+ 'gedcom' => 'application/x-gedcom',
129
+ 'gem' => 'application/x-tar',
130
+ 'gen' => 'application/x-genesis-rom',
131
+ 'geo.json' => 'application/vnd.geo+json',
132
+ 'geojson' => 'application/vnd.geo+json',
133
+ 'gf' => 'application/x-tex-gf',
134
+ 'gg' => 'application/x-sms-rom',
135
+ 'glade' => 'application/x-glade',
136
+ 'gml' => 'application/gml+xml',
137
+ 'gmo' => 'application/x-gettext-translation',
138
+ 'gnc' => 'application/x-gnucash',
139
+ 'gnd' => 'application/gnunet-directory',
140
+ 'gnucash' => 'application/x-gnucash',
141
+ 'gnumeric' => 'application/x-gnumeric',
142
+ 'gnuplot' => 'application/x-gnuplot',
143
+ 'go' => 'text/x-go',
144
+ 'gp' => 'application/x-gnuplot',
145
+ 'gpg' => 'application/pgp-encrypted',
146
+ 'gplt' => 'application/x-gnuplot',
147
+ 'gpx' => 'application/gpx+xml',
148
+ 'gra' => 'application/x-graphite',
149
+ 'gs' => 'text/x-genie',
150
+ 'gsf' => 'application/x-font-type1',
151
+ 'gtar' => 'application/x-tar',
152
+ 'gv' => 'text/vnd.graphviz',
153
+ 'gz' => 'application/gzip',
154
+ 'h' => 'text/x-chdr',
155
+ 'h++' => 'text/x-c++hdr',
156
+ 'h4' => 'application/x-hdf',
157
+ 'h5' => 'application/x-hdf',
158
+ 'hdf' => 'application/x-hdf',
159
+ 'hdf4' => 'application/x-hdf',
160
+ 'hdf5' => 'application/x-hdf',
161
+ 'hh' => 'text/x-c++hdr',
162
+ 'hlp' => 'application/winhlp',
163
+ 'hp' => 'text/x-c++hdr',
164
+ 'hpgl' => 'application/vnd.hp-hpgl',
165
+ 'hpp' => 'text/x-c++hdr',
166
+ 'hs' => 'text/x-haskell',
167
+ 'htm' => 'text/html',
168
+ 'html' => 'text/html',
169
+ 'hwp' => 'application/x-hwp',
170
+ 'hwt' => 'application/x-hwt',
171
+ 'hxx' => 'text/x-c++hdr',
172
+ 'ica' => 'application/x-ica',
173
+ 'icb' => 'image/x-tga',
174
+ 'icc' => 'application/vnd.iccprofile',
175
+ 'icm' => 'application/vnd.iccprofile',
176
+ 'icns' => 'image/x-icns',
177
+ 'ico' => 'image/vnd.microsoft.icon',
178
+ 'ics' => 'text/calendar',
179
+ 'idl' => 'text/x-idl',
180
+ 'ief' => 'image/ief',
181
+ 'iff' => 'image/x-ilbm',
182
+ 'ilbm' => 'image/x-ilbm',
183
+ 'ime' => 'text/x-iMelody',
184
+ 'img' => 'application/x-raw-disk-image',
185
+ 'img.xz' => 'application/x-raw-disk-image-xz-compressed',
186
+ 'imy' => 'text/x-iMelody',
187
+ 'ins' => 'text/x-tex',
188
+ 'iptables' => 'text/x-iptables',
189
+ 'iso' => 'application/x-cd-image',
190
+ 'iso9660' => 'application/x-cd-image',
191
+ 'it87' => 'application/x-it87',
192
+ 'jad' => 'text/vnd.sun.j2me.app-descriptor',
193
+ 'jar' => 'application/x-java-archive',
194
+ 'java' => 'text/x-java',
195
+ 'jceks' => 'application/x-java-jce-keystore',
196
+ 'jks' => 'application/x-java-keystore',
197
+ 'jng' => 'image/x-jng',
198
+ 'jnlp' => 'application/x-java-jnlp-file',
199
+ 'jp2' => 'image/jp2',
200
+ 'jpe' => 'image/jpeg',
201
+ 'jpeg' => 'image/jpeg',
202
+ 'jpf' => 'image/jp2',
203
+ 'jpg' => 'image/jpeg',
204
+ 'jpr' => 'application/x-jbuilder-project',
205
+ 'jpx' => 'application/x-jbuilder-project',
206
+ 'jrd' => 'application/jrd+json',
207
+ 'js' => 'application/javascript',
208
+ 'jsm' => 'application/javascript',
209
+ 'json' => 'application/json',
210
+ 'json-patch' => 'application/json-patch+json',
211
+ 'jsonld' => 'application/ld+json',
212
+ 'k25' => 'image/x-kodak-k25',
213
+ 'karbon' => 'application/x-karbon',
214
+ 'kdc' => 'image/x-kodak-kdc',
215
+ 'kdelnk' => 'application/x-desktop',
216
+ 'kexi' => 'application/x-kexiproject-sqlite2',
217
+ 'kexic' => 'application/x-kexi-connectiondata',
218
+ 'kexis' => 'application/x-kexiproject-shortcut',
219
+ 'key' => 'application/x-iwork-keynote-sffkey',
220
+ 'kfo' => 'application/x-kformula',
221
+ 'kil' => 'application/x-killustrator',
222
+ 'kino' => 'application/smil+xml',
223
+ 'kml' => 'application/vnd.google-earth.kml+xml',
224
+ 'kmz' => 'application/vnd.google-earth.kmz',
225
+ 'kon' => 'application/x-kontour',
226
+ 'kpm' => 'application/x-kpovmodeler',
227
+ 'kpr' => 'application/x-kpresenter',
228
+ 'kpt' => 'application/x-kpresenter',
229
+ 'kra' => 'application/x-krita',
230
+ 'ks' => 'application/x-java-keystore',
231
+ 'ksp' => 'application/x-kspread',
232
+ 'kud' => 'application/x-kugar',
233
+ 'kwd' => 'application/x-kword',
234
+ 'kwt' => 'application/x-kword',
235
+ 'la' => 'application/x-shared-library-la',
236
+ 'latex' => 'text/x-tex',
237
+ 'lbm' => 'image/x-ilbm',
238
+ 'ldif' => 'text/x-ldif',
239
+ 'lha' => 'application/x-lha',
240
+ 'lhs' => 'text/x-literate-haskell',
241
+ 'lhz' => 'application/x-lhz',
242
+ 'log' => 'text/x-log',
243
+ 'lrz' => 'application/x-lrzip',
244
+ 'ltx' => 'text/x-tex',
245
+ 'lua' => 'text/x-lua',
246
+ 'lwo' => 'image/x-lwo',
247
+ 'lwob' => 'image/x-lwo',
248
+ 'lwp' => 'application/vnd.lotus-wordpro',
249
+ 'lws' => 'image/x-lws',
250
+ 'ly' => 'text/x-lilypond',
251
+ 'lyx' => 'application/x-lyx',
252
+ 'lz' => 'application/x-lzip',
253
+ 'lz4' => 'application/x-lz4',
254
+ 'lzh' => 'application/x-lha',
255
+ 'lzma' => 'application/x-lzma',
256
+ 'lzo' => 'application/x-lzop',
257
+ 'm' => 'text/x-objcsrc',
258
+ 'm4' => 'application/x-m4',
259
+ 'mab' => 'application/x-markaby',
260
+ 'mak' => 'text/x-makefile',
261
+ 'man' => 'application/x-troff-man',
262
+ 'manifest' => 'text/cache-manifest',
263
+ 'markdown' => 'text/markdown',
264
+ 'mbox' => 'application/mbox',
265
+ 'md' => 'text/markdown',
266
+ 'mdb' => 'application/vnd.ms-access',
267
+ 'mdi' => 'image/vnd.ms-modi',
268
+ 'mdx' => 'application/x-genesis-rom',
269
+ 'me' => 'text/x-troff-me',
270
+ 'meta4' => 'application/metalink4+xml',
271
+ 'metalink' => 'application/metalink+xml',
272
+ 'mgp' => 'application/x-magicpoint',
273
+ 'mht' => 'application/x-mimearchive',
274
+ 'mhtml' => 'application/x-mimearchive',
275
+ 'mif' => 'application/x-mif',
276
+ 'mk' => 'text/x-makefile',
277
+ 'mkd' => 'text/markdown',
278
+ 'ml' => 'text/x-ocaml',
279
+ 'mli' => 'text/x-ocaml',
280
+ 'mm' => 'text/x-troff-mm',
281
+ 'mmf' => 'application/x-smaf',
282
+ 'mml' => 'application/mathml+xml',
283
+ 'mo' => 'application/x-gettext-translation',
284
+ 'mobi' => 'application/x-mobipocket-ebook',
285
+ 'moc' => 'text/x-moc',
286
+ 'mof' => 'text/x-mof',
287
+ 'mrl' => 'text/x-mrml',
288
+ 'mrml' => 'text/x-mrml',
289
+ 'mrw' => 'image/x-minolta-mrw',
290
+ 'ms' => 'text/x-troff-ms',
291
+ 'msi' => 'application/x-msi',
292
+ 'msod' => 'image/x-msod',
293
+ 'msx' => 'application/x-msx-rom',
294
+ 'mup' => 'text/x-mup',
295
+ 'mxf' => 'application/mxf',
296
+ 'n64' => 'application/x-n64-rom',
297
+ 'nb' => 'application/mathematica',
298
+ 'nc' => 'application/x-netcdf',
299
+ 'nds' => 'application/x-nintendo-ds-rom',
300
+ 'nef' => 'image/x-nikon-nef',
301
+ 'nes' => 'application/x-nes-rom',
302
+ 'nez' => 'application/x-nes-rom',
303
+ 'nfo' => 'text/x-nfo',
304
+ 'not' => 'text/x-mup',
305
+ 'nsc' => 'application/x-netshow-channel',
306
+ 'nzb' => 'application/x-nzb',
307
+ 'o' => 'application/x-object',
308
+ 'obj' => 'application/x-tgif',
309
+ 'ocl' => 'text/x-ocl',
310
+ 'oda' => 'application/oda',
311
+ 'odb' => 'application/vnd.oasis.opendocument.database',
312
+ 'odc' => 'application/vnd.oasis.opendocument.chart',
313
+ 'odf' => 'application/vnd.oasis.opendocument.formula',
314
+ 'odg' => 'application/vnd.oasis.opendocument.graphics',
315
+ 'odi' => 'application/vnd.oasis.opendocument.image',
316
+ 'odm' => 'application/vnd.oasis.opendocument.text-master',
317
+ 'odp' => 'application/vnd.oasis.opendocument.presentation',
318
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
319
+ 'odt' => 'application/vnd.oasis.opendocument.text',
320
+ 'ogx' => 'application/ogg',
321
+ 'old' => 'application/x-trash',
322
+ 'oleo' => 'application/x-oleo',
323
+ 'ooc' => 'text/x-ooc',
324
+ 'opml' => 'text/x-opml+xml',
325
+ 'oprc' => 'application/vnd.palm',
326
+ 'ora' => 'image/openraster',
327
+ 'orf' => 'image/x-olympus-orf',
328
+ 'otc' => 'application/vnd.oasis.opendocument.chart-template',
329
+ 'otf' => 'application/vnd.oasis.opendocument.formula-template',
330
+ 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
331
+ 'oth' => 'application/vnd.oasis.opendocument.text-web',
332
+ 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
333
+ 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
334
+ 'ott' => 'application/vnd.oasis.opendocument.text-template',
335
+ 'owl' => 'application/rdf+xml',
336
+ 'owx' => 'application/owl+xml',
337
+ 'oxps' => 'application/oxps',
338
+ 'oxt' => 'application/vnd.openofficeorg.extension',
339
+ 'p' => 'text/x-pascal',
340
+ 'p10' => 'application/pkcs10',
341
+ 'p12' => 'application/pkcs12',
342
+ 'p65' => 'application/x-pagemaker',
343
+ 'p7b' => 'application/x-pkcs7-certificates',
344
+ 'p7c' => 'application/pkcs7-mime',
345
+ 'p7m' => 'application/pkcs7-mime',
346
+ 'p7s' => 'application/pkcs7-signature',
347
+ 'p8' => 'application/pkcs8',
348
+ 'pack' => 'application/x-java-pack200',
349
+ 'pak' => 'application/x-pak',
350
+ 'par2' => 'application/x-par2',
351
+ 'part' => 'application/x-partial-download',
352
+ 'pas' => 'text/x-pascal',
353
+ 'patch' => 'text/x-patch',
354
+ 'pbm' => 'image/x-portable-bitmap',
355
+ 'pcap' => 'application/vnd.tcpdump.pcap',
356
+ 'pcd' => 'image/x-photo-cd',
357
+ 'pce' => 'application/x-pc-engine-rom',
358
+ 'pcf' => 'application/x-font-pcf',
359
+ 'pcf.gz' => 'application/x-font-pcf',
360
+ 'pcf.z' => 'application/x-font-pcf',
361
+ 'pcl' => 'application/vnd.hp-pcl',
362
+ 'pct' => 'image/x-pict',
363
+ 'pcx' => 'image/vnd.zbrush.pcx',
364
+ 'pdb' => 'application/x-aportisdoc',
365
+ 'pdc' => 'application/x-aportisdoc',
366
+ 'pdf' => 'application/pdf',
367
+ 'pdf.bz2' => 'application/x-bzpdf',
368
+ 'pdf.gz' => 'application/x-gzpdf',
369
+ 'pdf.xz' => 'application/x-xzpdf',
370
+ 'pef' => 'image/x-pentax-pef',
371
+ 'pem' => 'application/x-x509-ca-cert',
372
+ 'perl' => 'application/x-perl',
373
+ 'pfa' => 'application/x-font-type1',
374
+ 'pfb' => 'application/x-font-type1',
375
+ 'pfx' => 'application/pkcs12',
376
+ 'pgm' => 'image/x-portable-graymap',
377
+ 'pgn' => 'application/x-chess-pgn',
378
+ 'pgp' => 'application/pgp-encrypted',
379
+ 'php' => 'application/x-php',
380
+ 'php3' => 'application/x-php',
381
+ 'php4' => 'application/x-php',
382
+ 'php5' => 'application/x-php',
383
+ 'phps' => 'application/x-php',
384
+ 'pict' => 'image/x-pict',
385
+ 'pict1' => 'image/x-pict',
386
+ 'pict2' => 'image/x-pict',
387
+ 'pk' => 'application/x-tex-pk',
388
+ 'pkg' => 'application/x-xar',
389
+ 'pkipath' => 'application/pkix-pkipath',
390
+ 'pkr' => 'application/pgp-keys',
391
+ 'pl' => 'application/x-perl',
392
+ 'pln' => 'application/x-planperfect',
393
+ 'pm' => 'application/x-perl',
394
+ 'pm6' => 'application/x-pagemaker',
395
+ 'pmd' => 'application/x-pagemaker',
396
+ 'png' => 'image/png',
397
+ 'pnm' => 'image/x-portable-anymap',
398
+ 'pntg' => 'image/x-macpaint',
399
+ 'po' => 'text/x-gettext-translation',
400
+ 'pod' => 'application/x-perl',
401
+ 'por' => 'application/x-spss-por',
402
+ 'pot' => 'application/vnd.ms-powerpoint',
403
+ 'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
404
+ 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
405
+ 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
406
+ 'ppm' => 'image/x-portable-pixmap',
407
+ 'pps' => 'application/vnd.ms-powerpoint',
408
+ 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
409
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
410
+ 'ppt' => 'application/vnd.ms-powerpoint',
411
+ 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
412
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
413
+ 'ppz' => 'application/vnd.ms-powerpoint',
414
+ 'pqa' => 'application/vnd.palm',
415
+ 'prc' => 'application/x-mobipocket-ebook',
416
+ 'ps' => 'application/postscript',
417
+ 'ps.bz2' => 'application/x-bzpostscript',
418
+ 'ps.gz' => 'application/x-gzpostscript',
419
+ 'psd' => 'image/vnd.adobe.photoshop',
420
+ 'psf' => 'application/x-font-linux-psf',
421
+ 'psf.gz' => 'application/x-gz-font-linux-psf',
422
+ 'psw' => 'application/x-pocket-word',
423
+ 'pub' => 'application/vnd.ms-publisher',
424
+ 'pw' => 'application/x-pw',
425
+ 'py' => 'text/x-python',
426
+ 'pyc' => 'application/x-python-bytecode',
427
+ 'pyo' => 'application/x-python-bytecode',
428
+ 'pyx' => 'text/x-python',
429
+ 'qif' => 'application/x-qw',
430
+ 'qml' => 'text/x-qml',
431
+ 'qmlproject' => 'text/x-qml',
432
+ 'qmltypes' => 'text/x-qml',
433
+ 'qp' => 'application/x-qpress',
434
+ 'qti' => 'application/x-qtiplot',
435
+ 'qti.gz' => 'application/x-qtiplot',
436
+ 'qtif' => 'image/x-quicktime',
437
+ 'qtl' => 'application/x-quicktime-media-link',
438
+ 'raf' => 'image/x-fuji-raf',
439
+ 'ram' => 'application/ram',
440
+ 'rar' => 'application/x-rar',
441
+ 'ras' => 'image/x-cmu-raster',
442
+ 'raw' => 'image/x-panasonic-raw',
443
+ 'raw-disk-image' => 'application/x-raw-disk-image',
444
+ 'raw-disk-image.xz' => 'application/x-raw-disk-image-xz-compressed',
445
+ 'rb' => 'application/x-ruby',
446
+ 'rdf' => 'application/rdf+xml',
447
+ 'rdfs' => 'application/rdf+xml',
448
+ 'reg' => 'text/x-ms-regedit',
449
+ 'rej' => 'text/x-reject',
450
+ 'rgb' => 'image/x-rgb',
451
+ 'rle' => 'image/rle',
452
+ 'rm' => 'application/vnd.rn-realmedia',
453
+ 'rmj' => 'application/vnd.rn-realmedia',
454
+ 'rmm' => 'application/vnd.rn-realmedia',
455
+ 'rms' => 'application/vnd.rn-realmedia',
456
+ 'rmvb' => 'application/vnd.rn-realmedia',
457
+ 'rmx' => 'application/vnd.rn-realmedia',
458
+ 'rnc' => 'application/relax-ng-compact-syntax',
459
+ 'rng' => 'application/xml',
460
+ 'roff' => 'text/troff',
461
+ 'rp' => 'image/vnd.rn-realpix',
462
+ 'rpm' => 'application/x-rpm',
463
+ 'rs' => 'text/rust',
464
+ 'rss' => 'application/rss+xml',
465
+ 'rt' => 'text/vnd.rn-realtext',
466
+ 'rtf' => 'application/rtf',
467
+ 'rtx' => 'text/richtext',
468
+ 'rw2' => 'image/x-panasonic-raw2',
469
+ 'sam' => 'application/x-amipro',
470
+ 'sami' => 'application/x-sami',
471
+ 'sav' => 'application/x-spss-sav',
472
+ 'scala' => 'text/x-scala',
473
+ 'scm' => 'text/x-scheme',
474
+ 'sda' => 'application/vnd.stardivision.draw',
475
+ 'sdc' => 'application/vnd.stardivision.calc',
476
+ 'sdd' => 'application/vnd.stardivision.impress',
477
+ 'sdp' => 'application/vnd.stardivision.impress',
478
+ 'sds' => 'application/vnd.stardivision.chart',
479
+ 'sdw' => 'application/vnd.stardivision.writer',
480
+ 'sfc' => 'application/vnd.nintendo.snes.rom',
481
+ 'sg' => 'application/x-sms-rom',
482
+ 'sgb' => 'application/x-gameboy-rom',
483
+ 'sgf' => 'application/x-go-sgf',
484
+ 'sgi' => 'image/x-sgi',
485
+ 'sgl' => 'application/vnd.stardivision.writer',
486
+ 'sgm' => 'text/sgml',
487
+ 'sgml' => 'text/sgml',
488
+ 'sh' => 'application/x-shellscript',
489
+ 'shape' => 'application/x-dia-shape',
490
+ 'shar' => 'application/x-shar',
491
+ 'shn' => 'application/x-shorten',
492
+ 'siag' => 'application/x-siag',
493
+ 'sig' => 'application/pgp-signature',
494
+ 'sik' => 'application/x-trash',
495
+ 'sis' => 'application/vnd.symbian.install',
496
+ 'sisx' => 'x-epoc/x-sisx-app',
497
+ 'sit' => 'application/x-stuffit',
498
+ 'siv' => 'application/sieve',
499
+ 'sk' => 'image/x-skencil',
500
+ 'sk1' => 'image/x-skencil',
501
+ 'skr' => 'application/pgp-keys',
502
+ 'sldm' => 'application/vnd.ms-powerpoint.slide.macroEnabled.12',
503
+ 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
504
+ 'slk' => 'text/spreadsheet',
505
+ 'smaf' => 'application/x-smaf',
506
+ 'smc' => 'application/vnd.nintendo.snes.rom',
507
+ 'smd' => 'application/vnd.stardivision.mail',
508
+ 'smf' => 'application/vnd.stardivision.math',
509
+ 'smi' => 'application/smil+xml',
510
+ 'smil' => 'application/smil+xml',
511
+ 'sml' => 'application/smil+xml',
512
+ 'sms' => 'application/x-sms-rom',
513
+ 'so' => 'application/x-sharedlib',
514
+ 'spc' => 'application/x-pkcs7-certificates',
515
+ 'spd' => 'application/x-font-speedo',
516
+ 'spec' => 'text/x-rpm-spec',
517
+ 'spl' => 'application/vnd.adobe.flash.movie',
518
+ 'spm' => 'application/x-source-rpm',
519
+ 'sql' => 'application/sql',
520
+ 'sr2' => 'image/x-sony-sr2',
521
+ 'src' => 'application/x-wais-source',
522
+ 'src.rpm' => 'application/x-source-rpm',
523
+ 'srf' => 'image/x-sony-srf',
524
+ 'srt' => 'application/x-subrip',
525
+ 'ss' => 'text/x-scheme',
526
+ 'ssa' => 'text/x-ssa',
527
+ 'stc' => 'application/vnd.sun.xml.calc.template',
528
+ 'std' => 'application/vnd.sun.xml.draw.template',
529
+ 'sti' => 'application/vnd.sun.xml.impress.template',
530
+ 'stw' => 'application/vnd.sun.xml.writer.template',
531
+ 'sty' => 'text/x-tex',
532
+ 'sub' => 'text/x-microdvd',
533
+ 'sun' => 'image/x-sun-raster',
534
+ 'sv' => 'text/x-svsrc',
535
+ 'sv4cpio' => 'application/x-sv4cpio',
536
+ 'sv4crc' => 'application/x-sv4crc',
537
+ 'svg' => 'image/svg+xml',
538
+ 'svgz' => 'image/svg+xml-compressed',
539
+ 'svh' => 'text/x-svhdr',
540
+ 'swf' => 'application/vnd.adobe.flash.movie',
541
+ 'swm' => 'application/x-ms-wim',
542
+ 'sxc' => 'application/vnd.sun.xml.calc',
543
+ 'sxd' => 'application/vnd.sun.xml.draw',
544
+ 'sxg' => 'application/vnd.sun.xml.writer.global',
545
+ 'sxi' => 'application/vnd.sun.xml.impress',
546
+ 'sxm' => 'application/vnd.sun.xml.math',
547
+ 'sxw' => 'application/vnd.sun.xml.writer',
548
+ 'sylk' => 'text/spreadsheet',
549
+ 't' => 'application/x-perl',
550
+ 't2t' => 'text/x-txt2tags',
551
+ 'tar' => 'application/x-tar',
552
+ 'tar.bz' => 'application/x-bzip-compressed-tar',
553
+ 'tar.bz2' => 'application/x-bzip-compressed-tar',
554
+ 'tar.gz' => 'application/x-compressed-tar',
555
+ 'tar.lrz' => 'application/x-lrzip-compressed-tar',
556
+ 'tar.lzma' => 'application/x-lzma-compressed-tar',
557
+ 'tar.lzo' => 'application/x-tzo',
558
+ 'tar.xz' => 'application/x-xz-compressed-tar',
559
+ 'tar.z' => 'application/x-tarz',
560
+ 'taz' => 'application/x-tarz',
561
+ 'tb2' => 'application/x-bzip-compressed-tar',
562
+ 'tbz' => 'application/x-bzip-compressed-tar',
563
+ 'tbz2' => 'application/x-bzip-compressed-tar',
564
+ 'tcl' => 'text/x-tcl',
565
+ 'tex' => 'text/x-tex',
566
+ 'texi' => 'text/x-texinfo',
567
+ 'texinfo' => 'text/x-texinfo',
568
+ 'tga' => 'image/x-tga',
569
+ 'tgz' => 'application/x-compressed-tar',
570
+ 'theme' => 'application/x-theme',
571
+ 'themepack' => 'application/x-windows-themepack',
572
+ 'tif' => 'image/tiff',
573
+ 'tiff' => 'image/tiff',
574
+ 'tk' => 'text/x-tcl',
575
+ 'tlrz' => 'application/x-lrzip-compressed-tar',
576
+ 'tlz' => 'application/x-lzma-compressed-tar',
577
+ 'tnef' => 'application/vnd.ms-tnef',
578
+ 'tnf' => 'application/vnd.ms-tnef',
579
+ 'toc' => 'application/x-cdrdao-toc',
580
+ 'torrent' => 'application/x-bittorrent',
581
+ 'tpic' => 'image/x-tga',
582
+ 'tr' => 'text/troff',
583
+ 'trig' => 'application/x-trig',
584
+ 'ts' => 'text/vnd.trolltech.linguist',
585
+ 'tsv' => 'text/tab-separated-values',
586
+ 'ttc' => 'application/x-font-ttf',
587
+ 'ttf' => 'application/x-font-ttf',
588
+ 'ttl' => 'text/turtle',
589
+ 'ttx' => 'application/x-font-ttx',
590
+ 'txt' => 'text/plain',
591
+ 'txz' => 'application/x-xz-compressed-tar',
592
+ 'tzo' => 'application/x-tzo',
593
+ 'udeb' => 'application/vnd.debian.binary-package',
594
+ 'ufraw' => 'application/x-ufraw',
595
+ 'ui' => 'application/x-designer',
596
+ 'uil' => 'text/x-uil',
597
+ 'unf' => 'application/x-nes-rom',
598
+ 'unif' => 'application/x-nes-rom',
599
+ 'url' => 'application/x-mswinurl',
600
+ 'ustar' => 'application/x-ustar',
601
+ 'uue' => 'text/x-uuencode',
602
+ 'v' => 'text/x-verilog',
603
+ 'v64' => 'application/x-n64-rom',
604
+ 'vala' => 'text/x-vala',
605
+ 'vapi' => 'text/x-vala',
606
+ 'vcard' => 'text/vcard',
607
+ 'vcf' => 'text/vcard',
608
+ 'vcs' => 'text/calendar',
609
+ 'vct' => 'text/vcard',
610
+ 'vda' => 'image/x-tga',
611
+ 'vhd' => 'text/x-vhdl',
612
+ 'vhdl' => 'text/x-vhdl',
613
+ 'vor' => 'application/vnd.stardivision.writer',
614
+ 'vrm' => 'model/vrml',
615
+ 'vrml' => 'model/vrml',
616
+ 'vsd' => 'application/vnd.visio',
617
+ 'vsdm' => 'application/vnd.ms-visio.drawing.macroEnabled.main+xml',
618
+ 'vsdx' => 'application/vnd.ms-visio.drawing.main+xml',
619
+ 'vss' => 'application/vnd.visio',
620
+ 'vssm' => 'application/vnd.ms-visio.stencil.macroEnabled.main+xml',
621
+ 'vssx' => 'application/vnd.ms-visio.stencil.main+xml',
622
+ 'vst' => 'application/vnd.visio',
623
+ 'vstm' => 'application/vnd.ms-visio.template.macroEnabled.main+xml',
624
+ 'vstx' => 'application/vnd.ms-visio.template.main+xml',
625
+ 'vsw' => 'application/vnd.visio',
626
+ 'vtt' => 'text/vtt',
627
+ 'wad' => 'application/x-wii-wad',
628
+ 'wb1' => 'application/x-quattropro',
629
+ 'wb2' => 'application/x-quattropro',
630
+ 'wb3' => 'application/x-quattropro',
631
+ 'wbmp' => 'image/vnd.wap.wbmp',
632
+ 'wcm' => 'application/vnd.ms-works',
633
+ 'wdb' => 'application/vnd.ms-works',
634
+ 'webp' => 'image/webp',
635
+ 'wim' => 'application/x-ms-wim',
636
+ 'wk1' => 'application/vnd.lotus-1-2-3',
637
+ 'wk3' => 'application/vnd.lotus-1-2-3',
638
+ 'wk4' => 'application/vnd.lotus-1-2-3',
639
+ 'wkdownload' => 'application/x-partial-download',
640
+ 'wks' => 'application/vnd.lotus-1-2-3',
641
+ 'wmf' => 'image/x-wmf',
642
+ 'wml' => 'text/vnd.wap.wml',
643
+ 'wmls' => 'text/vnd.wap.wmlscript',
644
+ 'woff' => 'application/font-woff',
645
+ 'wp' => 'application/vnd.wordperfect',
646
+ 'wp4' => 'application/vnd.wordperfect',
647
+ 'wp5' => 'application/vnd.wordperfect',
648
+ 'wp6' => 'application/vnd.wordperfect',
649
+ 'wpd' => 'application/vnd.wordperfect',
650
+ 'wpg' => 'application/x-wpg',
651
+ 'wpl' => 'application/vnd.ms-wpl',
652
+ 'wpp' => 'application/vnd.wordperfect',
653
+ 'wps' => 'application/vnd.ms-works',
654
+ 'wri' => 'application/x-mswrite',
655
+ 'wrl' => 'model/vrml',
656
+ 'wsgi' => 'text/x-python',
657
+ 'wwf' => 'application/x-wwf',
658
+ 'x3f' => 'image/x-sigma-x3f',
659
+ 'xac' => 'application/x-gnucash',
660
+ 'xar' => 'application/x-xar',
661
+ 'xbel' => 'application/x-xbel',
662
+ 'xbl' => 'application/xml',
663
+ 'xbm' => 'image/x-xbitmap',
664
+ 'xcf' => 'image/x-xcf',
665
+ 'xcf.bz2' => 'image/x-compressed-xcf',
666
+ 'xcf.gz' => 'image/x-compressed-xcf',
667
+ 'xdgapp' => 'application/vnd.xdgapp',
668
+ 'xht' => 'application/xhtml+xml',
669
+ 'xhtml' => 'application/xhtml+xml',
670
+ 'xla' => 'application/vnd.ms-excel',
671
+ 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
672
+ 'xlc' => 'application/vnd.ms-excel',
673
+ 'xld' => 'application/vnd.ms-excel',
674
+ 'xlf' => 'application/x-xliff',
675
+ 'xliff' => 'application/x-xliff',
676
+ 'xll' => 'application/vnd.ms-excel',
677
+ 'xlm' => 'application/vnd.ms-excel',
678
+ 'xlr' => 'application/vnd.ms-works',
679
+ 'xls' => 'application/vnd.ms-excel',
680
+ 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
681
+ 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
682
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
683
+ 'xlt' => 'application/vnd.ms-excel',
684
+ 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
685
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
686
+ 'xlw' => 'application/vnd.ms-excel',
687
+ 'xmi' => 'text/x-xmi',
688
+ 'xml' => 'application/xml',
689
+ 'xpi' => 'application/x-xpinstall',
690
+ 'xpm' => 'image/x-xpixmap',
691
+ 'xps' => 'application/oxps',
692
+ 'xsd' => 'application/xml',
693
+ 'xsl' => 'application/xslt+xml',
694
+ 'xslfo' => 'text/x-xslfo',
695
+ 'xslt' => 'application/xslt+xml',
696
+ 'xspf' => 'application/xspf+xml',
697
+ 'xul' => 'application/vnd.mozilla.xul+xml',
698
+ 'xwd' => 'image/x-xwindowdump',
699
+ 'xz' => 'application/x-xz',
700
+ 'yaml' => 'application/x-yaml',
701
+ 'yml' => 'application/x-yaml',
702
+ 'z' => 'application/x-compress',
703
+ 'z64' => 'application/x-n64-rom',
704
+ 'zabw' => 'application/x-abiword',
705
+ 'zip' => 'application/zip',
706
+ 'zoo' => 'application/x-zoo',
707
+ 'zsav' => 'application/x-spss-sav',
708
+ 'zz' => 'application/zlib',
709
+ }
710
+ # @private
711
+ # :nodoc:
712
+ TYPES = {
713
+ 'application/andrew-inset' => [%w(ez), %w(), 'ATK inset'],
714
+ 'application/annodex' => [%w(anx), %w(), 'Annodex exchange format'],
715
+ 'application/atom+xml' => [%w(atom), %w(application/xml), 'Atom syndication feed'],
716
+ 'application/dicom' => [%w(dcm), %w(), 'DICOM image'],
717
+ 'application/ecmascript' => [%w(es), %w(text/plain), 'ECMAScript program'],
718
+ 'application/epub+zip' => [%w(epub), %w(application/zip), 'electronic book document'],
719
+ 'application/font-woff' => [%w(woff), %w(), 'WOFF font'],
720
+ 'application/gml+xml' => [%w(gml), %w(application/xml), 'GML document'],
721
+ 'application/gnunet-directory' => [%w(gnd), %w(), 'GNUnet search file'],
722
+ 'application/gpx+xml' => [%w(gpx), %w(application/xml), 'GPX geographic data'],
723
+ 'application/gzip' => [%w(gz), %w(), 'Gzip archive'],
724
+ 'application/illustrator' => [%w(ai), %w(), 'Adobe Illustrator document'],
725
+ 'application/javascript' => [%w(js jsm), %w(application/ecmascript), 'JavaScript program'],
726
+ 'application/jrd+json' => [%w(jrd), %w(application/json), 'JRD document'],
727
+ 'application/json' => [%w(json), %w(application/javascript), 'JSON document'],
728
+ 'application/json-patch+json' => [%w(json-patch), %w(application/json), 'JSON patch'],
729
+ 'application/ld+json' => [%w(jsonld), %w(application/json), 'JSON-LD document'],
730
+ 'application/mathematica' => [%w(nb), %w(text/plain), 'Mathematica Notebook'],
731
+ 'application/mathml+xml' => [%w(mml), %w(application/xml), 'MathML document'],
732
+ 'application/mbox' => [%w(mbox), %w(text/plain), 'mailbox file'],
733
+ 'application/metalink+xml' => [%w(metalink), %w(application/xml), 'Metalink file'],
734
+ 'application/metalink4+xml' => [%w(meta4), %w(application/xml), 'Metalink file'],
735
+ 'application/msword' => [%w(doc), %w(application/x-ole-storage), 'Word document'],
736
+ 'application/msword-template' => [%w(dot), %w(application/msword), 'Word template'],
737
+ 'application/octet-stream' => [%w(bin), %w(), 'unknown'],
738
+ 'application/oda' => [%w(oda), %w(), 'ODA document'],
739
+ 'application/ogg' => [%w(ogx), %w(), 'Ogg multimedia file'],
740
+ 'application/owl+xml' => [%w(owx), %w(application/xml), 'OWL XML file'],
741
+ 'application/oxps' => [%w(oxps xps), %w(application/zip), 'XPS document'],
742
+ 'application/pdf' => [%w(pdf), %w(), 'PDF document'],
743
+ 'application/pgp-encrypted' => [%w(asc gpg pgp), %w(text/plain), 'PGP/MIME-encrypted message header'],
744
+ 'application/pgp-keys' => [%w(asc gpg pgp pkr skr), %w(text/plain), 'PGP keys'],
745
+ 'application/pgp-signature' => [%w(asc gpg pgp sig), %w(text/plain), 'detached OpenPGP signature'],
746
+ 'application/pkcs10' => [%w(p10), %w(), 'PKCS#10 certification request'],
747
+ 'application/pkcs12' => [%w(p12 pfx), %w(), 'PKCS#12 certificate bundle'],
748
+ 'application/pkcs7-mime' => [%w(p7c p7m), %w(), 'PKCS#7 Message or Certificate'],
749
+ 'application/pkcs7-signature' => [%w(p7s), %w(text/plain), 'detached S/MIME signature'],
750
+ 'application/pkcs8' => [%w(p8), %w(), 'PKCS#8 private key'],
751
+ 'application/pkix-cert' => [%w(cer), %w(), 'X.509 certificate'],
752
+ 'application/pkix-crl' => [%w(crl), %w(), 'Certificate revocation list'],
753
+ 'application/pkix-pkipath' => [%w(pkipath), %w(), 'PkiPath certification path'],
754
+ 'application/postscript' => [%w(ps), %w(text/plain), 'PS document'],
755
+ 'application/ram' => [%w(ram), %w(), 'RealMedia Metafile'],
756
+ 'application/rdf+xml' => [%w(owl rdf rdfs), %w(application/xml), 'RDF file'],
757
+ 'application/relax-ng-compact-syntax' => [%w(rnc), %w(text/plain), 'RELAX NG XML schema'],
758
+ 'application/rss+xml' => [%w(rss), %w(application/xml), 'RSS summary'],
759
+ 'application/rtf' => [%w(rtf), %w(text/plain), 'RTF document'],
760
+ 'application/sdp' => [%w(sdp), %w(text/plain), 'SDP multicast stream file'],
761
+ 'application/sieve' => [%w(siv), %w(application/xml), 'Sieve mail filter script'],
762
+ 'application/smil+xml' => [%w(kino smi smil sml), %w(application/xml), 'SMIL document'],
763
+ 'application/sql' => [%w(sql), %w(text/plain), 'SQL code'],
764
+ 'application/vnd.adobe.flash.movie' => [%w(spl swf), %w(), 'Shockwave Flash file'],
765
+ 'application/vnd.android.package-archive' => [%w(apk), %w(application/x-java-archive), 'Android package'],
766
+ 'application/vnd.apple.mpegurl' => [%w(m3u m3u8), %w(text/plain), 'HTTP Live Streaming playlist'],
767
+ 'application/vnd.coffeescript' => [%w(coffee), %w(text/plain), 'CoffeeScript document'],
768
+ 'application/vnd.corel-draw' => [%w(cdr), %w(), 'Corel Draw drawing'],
769
+ 'application/vnd.debian.binary-package' => [%w(deb udeb), %w(), 'Debian package'],
770
+ 'application/vnd.emusic-emusic_package' => [%w(emp), %w(), 'eMusic download package'],
771
+ 'application/vnd.geo+json' => [%w(geo.json geojson), %w(application/json), 'GeoJSON geospatial data'],
772
+ 'application/vnd.google-earth.kml+xml' => [%w(kml), %w(application/xml), 'KML geographic data'],
773
+ 'application/vnd.google-earth.kmz' => [%w(kmz), %w(application/zip), 'KML geographic compressed data'],
774
+ 'application/vnd.hp-hpgl' => [%w(hpgl), %w(), 'HPGL file'],
775
+ 'application/vnd.hp-pcl' => [%w(pcl), %w(), 'PCL file'],
776
+ 'application/vnd.iccprofile' => [%w(icc icm), %w(), 'ICC profile'],
777
+ 'application/vnd.lotus-1-2-3' => [%w(123 wk1 wk3 wk4 wks), %w(), 'Lotus 1-2-3 spreadsheet'],
778
+ 'application/vnd.lotus-wordpro' => [%w(lwp), %w(), 'Lotus Word Pro'],
779
+ 'application/vnd.mozilla.xul+xml' => [%w(xul), %w(application/xml), 'XUL interface document'],
780
+ 'application/vnd.ms-access' => [%w(mdb), %w(), 'JET database'],
781
+ 'application/vnd.ms-cab-compressed' => [%w(cab), %w(), 'Microsoft Cabinet archive'],
782
+ 'application/vnd.ms-excel' => [%w(xla xlc xld xll xlm xls xlt xlw), %w(), 'Excel spreadsheet'],
783
+ 'application/vnd.ms-excel.addin.macroEnabled.12' => [%w(xlam), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), 'Excel add-in'],
784
+ 'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => [%w(xlsb), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), 'Excel 2007 binary spreadsheet'],
785
+ 'application/vnd.ms-excel.sheet.macroEnabled.12' => [%w(xlsm), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), 'Excel spreadsheet'],
786
+ 'application/vnd.ms-excel.template.macroEnabled.12' => [%w(xltm), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.template), 'Excel spreadsheet template'],
787
+ 'application/vnd.ms-htmlhelp' => [%w(chm), %w(), 'CHM document'],
788
+ 'application/vnd.ms-powerpoint' => [%w(pot pps ppt ppz), %w(), 'PowerPoint presentation'],
789
+ 'application/vnd.ms-powerpoint.addin.macroEnabled.12' => [%w(ppam), %w(), 'PowerPoint add-in'],
790
+ 'application/vnd.ms-powerpoint.presentation.macroEnabled.12' => [%w(pptm), %w(application/vnd.openxmlformats-officedocument.presentationml.presentation), 'PowerPoint presentation'],
791
+ 'application/vnd.ms-powerpoint.slide.macroEnabled.12' => [%w(sldm), %w(application/vnd.openxmlformats-officedocument.presentationml.slide), 'PowerPoint slide'],
792
+ 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' => [%w(ppsm), %w(application/vnd.openxmlformats-officedocument.presentationml.slideshow), 'PowerPoint presentation'],
793
+ 'application/vnd.ms-powerpoint.template.macroEnabled.12' => [%w(potm), %w(application/vnd.openxmlformats-officedocument.presentationml.template), 'PowerPoint presentation template'],
794
+ 'application/vnd.ms-publisher' => [%w(pub), %w(application/x-ole-storage), 'Microsoft Publisher document'],
795
+ 'application/vnd.ms-tnef' => [%w(tnef tnf), %w(), 'TNEF message'],
796
+ 'application/vnd.ms-visio.drawing.macroEnabled.main+xml' => [%w(vsdm), %w(application/zip), 'Office Open XML Visio Drawing'],
797
+ 'application/vnd.ms-visio.drawing.main+xml' => [%w(vsdx), %w(application/zip), 'Office Open XML Visio Drawing'],
798
+ 'application/vnd.ms-visio.stencil.macroEnabled.main+xml' => [%w(vssm), %w(application/zip), 'Office Open XML Visio Stencil'],
799
+ 'application/vnd.ms-visio.stencil.main+xml' => [%w(vssx), %w(application/zip), 'Office Open XML Visio Stencil'],
800
+ 'application/vnd.ms-visio.template.macroEnabled.main+xml' => [%w(vstm), %w(application/zip), 'Office Open XML Visio Template'],
801
+ 'application/vnd.ms-visio.template.main+xml' => [%w(vstx), %w(application/zip), 'Office Open XML Visio Template'],
802
+ 'application/vnd.ms-word.document.macroEnabled.12' => [%w(docm), %w(application/vnd.openxmlformats-officedocument.wordprocessingml.document), 'Word document'],
803
+ 'application/vnd.ms-word.template.macroEnabled.12' => [%w(dotm), %w(application/vnd.openxmlformats-officedocument.wordprocessingml.template), 'Word document template'],
804
+ 'application/vnd.ms-works' => [%w(wcm wdb wks wps xlr), %w(application/x-ole-storage), 'Microsoft Works document'],
805
+ 'application/vnd.ms-wpl' => [%w(wpl), %w(), 'WPL playlist'],
806
+ 'application/vnd.nintendo.snes.rom' => [%w(sfc smc), %w(), 'Super NES ROM'],
807
+ 'application/vnd.oasis.opendocument.chart' => [%w(odc), %w(application/zip), 'ODC chart'],
808
+ 'application/vnd.oasis.opendocument.chart-template' => [%w(otc), %w(application/zip), 'ODC template'],
809
+ 'application/vnd.oasis.opendocument.database' => [%w(odb), %w(application/zip), 'ODB database'],
810
+ 'application/vnd.oasis.opendocument.formula' => [%w(odf), %w(application/zip), 'ODF formula'],
811
+ 'application/vnd.oasis.opendocument.formula-template' => [%w(otf), %w(application/zip), 'ODF template'],
812
+ 'application/vnd.oasis.opendocument.graphics' => [%w(odg), %w(application/zip), 'ODG drawing'],
813
+ 'application/vnd.oasis.opendocument.graphics-flat-xml' => [%w(fodg), %w(application/xml), 'ODG drawing (Flat XML)'],
814
+ 'application/vnd.oasis.opendocument.graphics-template' => [%w(otg), %w(application/zip), 'ODG template'],
815
+ 'application/vnd.oasis.opendocument.image' => [%w(odi), %w(application/zip), 'ODI image'],
816
+ 'application/vnd.oasis.opendocument.presentation' => [%w(odp), %w(application/zip), 'ODP presentation'],
817
+ 'application/vnd.oasis.opendocument.presentation-flat-xml' => [%w(fodp), %w(application/xml), 'ODP presentation (Flat XML)'],
818
+ 'application/vnd.oasis.opendocument.presentation-template' => [%w(otp), %w(application/zip), 'ODP template'],
819
+ 'application/vnd.oasis.opendocument.spreadsheet' => [%w(ods), %w(application/zip), 'ODS spreadsheet'],
820
+ 'application/vnd.oasis.opendocument.spreadsheet-flat-xml' => [%w(fods), %w(application/xml), 'ODS spreadsheet (Flat XML)'],
821
+ 'application/vnd.oasis.opendocument.spreadsheet-template' => [%w(ots), %w(application/zip), 'ODS template'],
822
+ 'application/vnd.oasis.opendocument.text' => [%w(odt), %w(application/zip), 'ODT document'],
823
+ 'application/vnd.oasis.opendocument.text-flat-xml' => [%w(fodt), %w(application/xml), 'ODT document (Flat XML)'],
824
+ 'application/vnd.oasis.opendocument.text-master' => [%w(odm), %w(application/zip), 'ODM document'],
825
+ 'application/vnd.oasis.opendocument.text-template' => [%w(ott), %w(application/zip), 'ODT template'],
826
+ 'application/vnd.oasis.opendocument.text-web' => [%w(oth), %w(application/zip), 'OTH template'],
827
+ 'application/vnd.openofficeorg.extension' => [%w(oxt), %w(application/zip), 'OpenOffice.org extension'],
828
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => [%w(pptx), %w(application/zip), 'PowerPoint 2007 presentation'],
829
+ 'application/vnd.openxmlformats-officedocument.presentationml.slide' => [%w(sldx), %w(application/zip), 'PowerPoint 2007 slide'],
830
+ 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => [%w(ppsx), %w(application/zip), 'PowerPoint 2007 show'],
831
+ 'application/vnd.openxmlformats-officedocument.presentationml.template' => [%w(potx), %w(application/zip), 'PowerPoint 2007 presentation template'],
832
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => [%w(xlsx), %w(application/zip), 'Excel 2007 spreadsheet'],
833
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => [%w(xltx), %w(application/zip), 'Excel 2007 spreadsheet template'],
834
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => [%w(docx), %w(application/zip), 'Word 2007 document'],
835
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => [%w(dotx), %w(application/zip), 'Word 2007 document template'],
836
+ 'application/vnd.palm' => [%w(oprc pdb pqa prc), %w(), 'Palm OS database'],
837
+ 'application/vnd.rn-realmedia' => [%w(rm rmj rmm rms rmvb rmx), %w(), 'RealMedia document'],
838
+ 'application/vnd.stardivision.calc' => [%w(sdc), %w(), 'StarCalc spreadsheet'],
839
+ 'application/vnd.stardivision.chart' => [%w(sds), %w(), 'StarChart chart'],
840
+ 'application/vnd.stardivision.draw' => [%w(sda), %w(), 'StarDraw drawing'],
841
+ 'application/vnd.stardivision.impress' => [%w(sdd sdp), %w(), 'StarImpress presentation'],
842
+ 'application/vnd.stardivision.mail' => [%w(smd), %w(), 'StarMail email'],
843
+ 'application/vnd.stardivision.math' => [%w(smf), %w(), 'StarMath formula'],
844
+ 'application/vnd.stardivision.writer' => [%w(sdw sgl vor), %w(), 'StarWriter document'],
845
+ 'application/vnd.sun.xml.calc' => [%w(sxc), %w(application/zip), 'OpenOffice Calc spreadsheet'],
846
+ 'application/vnd.sun.xml.calc.template' => [%w(stc), %w(application/zip), 'OpenOffice Calc template'],
847
+ 'application/vnd.sun.xml.draw' => [%w(sxd), %w(application/zip), 'OpenOffice Draw drawing'],
848
+ 'application/vnd.sun.xml.draw.template' => [%w(std), %w(application/zip), 'OpenOffice Draw template'],
849
+ 'application/vnd.sun.xml.impress' => [%w(sxi), %w(application/zip), 'OpenOffice Impress presentation'],
850
+ 'application/vnd.sun.xml.impress.template' => [%w(sti), %w(application/zip), 'OpenOffice Impress template'],
851
+ 'application/vnd.sun.xml.math' => [%w(sxm), %w(application/zip), 'OpenOffice Math formula'],
852
+ 'application/vnd.sun.xml.writer' => [%w(sxw), %w(application/zip), 'OpenOffice Writer document'],
853
+ 'application/vnd.sun.xml.writer.global' => [%w(sxg), %w(application/zip), 'OpenOffice Writer global document'],
854
+ 'application/vnd.sun.xml.writer.template' => [%w(stw), %w(application/zip), 'OpenOffice Writer template'],
855
+ 'application/vnd.symbian.install' => [%w(sis), %w(), 'SIS package'],
856
+ 'application/vnd.tcpdump.pcap' => [%w(cap dmp pcap), %w(), 'Network Packet Capture'],
857
+ 'application/vnd.visio' => [%w(vsd vss vst vsw), %w(application/x-ole-storage), 'Microsoft Visio document'],
858
+ 'application/vnd.wordperfect' => [%w(wp wp4 wp5 wp6 wpd wpp), %w(), 'WordPerfect document'],
859
+ 'application/vnd.xdgapp' => [%w(xdgapp), %w(), 'XDG application bundle'],
860
+ 'application/winhlp' => [%w(hlp), %w(), 'WinHelp help file'],
861
+ 'application/x-7z-compressed' => [%w(7z), %w(), '7-zip archive'],
862
+ 'application/x-abiword' => [%w(abw abw.crashed abw.gz zabw), %w(application/xml), 'AbiWord document'],
863
+ 'application/x-ace' => [%w(ace), %w(), 'ACE archive'],
864
+ 'application/x-alz' => [%w(alz), %w(), 'Alzip archive'],
865
+ 'application/x-amiga-disk-format' => [%w(adf), %w(), 'Amiga disk image'],
866
+ 'application/x-amipro' => [%w(sam), %w(), 'Lotus AmiPro document'],
867
+ 'application/x-aportisdoc' => [%w(pdb pdc), %w(application/x-palm-database), 'AportisDoc document'],
868
+ 'application/x-apple-diskimage' => [%w(dmg), %w(), 'Apple disk image'],
869
+ 'application/x-applix-spreadsheet' => [%w(as), %w(), 'Applix Spreadsheets spreadsheet'],
870
+ 'application/x-applix-word' => [%w(aw), %w(), 'Applix Words document'],
871
+ 'application/x-archive' => [%w(a ar), %w(), 'AR archive'],
872
+ 'application/x-arj' => [%w(arj), %w(), 'ARJ archive'],
873
+ 'application/x-asp' => [%w(asp), %w(text/plain), 'ASP page'],
874
+ 'application/x-awk' => [%w(awk), %w(application/x-executable text/plain), 'AWK script'],
875
+ 'application/x-bcpio' => [%w(bcpio), %w(), 'BCPIO document'],
876
+ 'application/x-bittorrent' => [%w(torrent), %w(), 'BitTorrent seed file'],
877
+ 'application/x-blender' => [%w(blend blend blender), %w(), 'Blender scene'],
878
+ 'application/x-bzdvi' => [%w(dvi.bz2), %w(application/x-bzip), 'TeX DVI document (bzip-compressed)'],
879
+ 'application/x-bzip' => [%w(bz bz2), %w(), 'Bzip archive'],
880
+ 'application/x-bzip-compressed-tar' => [%w(tar.bz tar.bz2 tb2 tbz tbz2), %w(application/x-bzip), 'Tar archive (bzip-compressed)'],
881
+ 'application/x-bzpdf' => [%w(pdf.bz2), %w(application/x-bzip), 'PDF document (bzip-compressed)'],
882
+ 'application/x-bzpostscript' => [%w(ps.bz2), %w(application/x-bzip), 'PostScript document (bzip-compressed)'],
883
+ 'application/x-cb7' => [%w(cb7), %w(application/x-7z-compressed), 'comic book archive'],
884
+ 'application/x-cbr' => [%w(cbr), %w(application/x-rar), 'comic book archive'],
885
+ 'application/x-cbt' => [%w(cbt), %w(application/x-tar), 'comic book archive'],
886
+ 'application/x-cbz' => [%w(cbz), %w(application/zip), 'comic book archive'],
887
+ 'application/x-ccmx' => [%w(ccmx), %w(text/plain), 'CCMX color correction file'],
888
+ 'application/x-cd-image' => [%w(iso iso9660), %w(application/x-raw-disk-image), 'raw CD image'],
889
+ 'application/x-cdrdao-toc' => [%w(toc), %w(text/plain), 'CD Table Of Contents'],
890
+ 'application/x-chess-pgn' => [%w(pgn), %w(text/plain), 'PGN chess game notation'],
891
+ 'application/x-cisco-vpn-settings' => [%w(pcf), %w(), 'Cisco VPN Settings'],
892
+ 'application/x-compress' => [%w(z), %w(), 'UNIX-compressed file'],
893
+ 'application/x-compressed-tar' => [%w(tar.gz tgz), %w(application/gzip), 'Tar archive (gzip-compressed)'],
894
+ 'application/x-cpio' => [%w(cpio), %w(), 'CPIO archive'],
895
+ 'application/x-cpio-compressed' => [%w(cpio.gz), %w(application/gzip), 'CPIO archive (gzip-compressed)'],
896
+ 'application/x-csh' => [%w(csh), %w(application/x-shellscript text/plain), 'C shell script'],
897
+ 'application/x-cue' => [%w(cue), %w(text/plain), 'CD image cuesheet'],
898
+ 'application/x-dar' => [%w(dar), %w(), 'DAR archive'],
899
+ 'application/x-dbf' => [%w(dbf), %w(), 'Xbase document'],
900
+ 'application/x-dc-rom' => [%w(dc), %w(), 'Dreamcast GD-ROM'],
901
+ 'application/x-designer' => [%w(ui), %w(application/xml), 'Qt Designer file'],
902
+ 'application/x-desktop' => [%w(desktop kdelnk), %w(text/plain), 'desktop configuration file'],
903
+ 'application/x-dia-diagram' => [%w(dia), %w(application/xml), 'Dia diagram'],
904
+ 'application/x-dia-shape' => [%w(shape), %w(application/xml), 'Dia shape'],
905
+ 'application/x-docbook+xml' => [%w(dbk docbook), %w(application/xml), 'DocBook document'],
906
+ 'application/x-doom-wad' => [%w(wad), %w(), 'Doom WAD'],
907
+ 'application/x-dvi' => [%w(dvi), %w(), 'TeX DVI document'],
908
+ 'application/x-e-theme' => [%w(etheme), %w(), 'Enlightenment theme'],
909
+ 'application/x-egon' => [%w(egon), %w(), 'Egon Animator animation'],
910
+ 'application/x-fictionbook+xml' => [%w(fb2), %w(application/xml), 'FictionBook document'],
911
+ 'application/x-fluid' => [%w(fl), %w(text/plain), 'FLTK Fluid file'],
912
+ 'application/x-font-afm' => [%w(afm), %w(), 'Adobe font metrics'],
913
+ 'application/x-font-bdf' => [%w(bdf), %w(), 'BDF font'],
914
+ 'application/x-font-linux-psf' => [%w(psf), %w(), 'Linux PSF console font'],
915
+ 'application/x-font-otf' => [%w(otf), %w(application/x-font-ttf), 'OpenType font'],
916
+ 'application/x-font-pcf' => [%w(pcf pcf.gz pcf.z), %w(), 'PCF font'],
917
+ 'application/x-font-speedo' => [%w(spd), %w(), 'Speedo font'],
918
+ 'application/x-font-ttf' => [%w(ttc ttf), %w(), 'TrueType font'],
919
+ 'application/x-font-ttx' => [%w(ttx), %w(text/xml), 'TrueType XML font'],
920
+ 'application/x-font-type1' => [%w(gsf pfa pfb), %w(application/postscript), 'Postscript type-1 font'],
921
+ 'application/x-gameboy-rom' => [%w(cgb gb gbc sgb), %w(), 'Game Boy ROM'],
922
+ 'application/x-gamecube-rom' => [%w(iso), %w(), 'GameCube disc image'],
923
+ 'application/x-gba-rom' => [%w(agb gba), %w(), 'Game Boy Advance ROM'],
924
+ 'application/x-gedcom' => [%w(ged gedcom), %w(), 'GEDCOM family history'],
925
+ 'application/x-genesis-rom' => [%w(32x gen mdx smd), %w(), 'Genesis ROM'],
926
+ 'application/x-gettext-translation' => [%w(gmo mo), %w(), 'translated messages (machine-readable)'],
927
+ 'application/x-glade' => [%w(glade), %w(application/xml), 'Glade project'],
928
+ 'application/x-gnucash' => [%w(gnc gnucash xac), %w(), 'GnuCash financial data'],
929
+ 'application/x-gnumeric' => [%w(gnumeric), %w(), 'Gnumeric spreadsheet'],
930
+ 'application/x-gnuplot' => [%w(gnuplot gp gplt), %w(text/plain), 'Gnuplot document'],
931
+ 'application/x-go-sgf' => [%w(sgf), %w(text/plain), 'SGF record'],
932
+ 'application/x-graphite' => [%w(gra), %w(), 'Graphite scientific graph'],
933
+ 'application/x-gtk-builder' => [%w(ui), %w(application/xml), 'GTK+ Builder'],
934
+ 'application/x-gz-font-linux-psf' => [%w(psf.gz), %w(application/gzip), 'Linux PSF console font (gzip-compressed)'],
935
+ 'application/x-gzdvi' => [%w(dvi.gz), %w(application/gzip), 'TeX DVI document (gzip-compressed)'],
936
+ 'application/x-gzpdf' => [%w(pdf.gz), %w(application/gzip), 'PDF document (gzip-compressed)'],
937
+ 'application/x-gzpostscript' => [%w(ps.gz), %w(application/gzip), 'PostScript document (gzip-compressed)'],
938
+ 'application/x-hdf' => [%w(h4 h5 hdf hdf4 hdf5), %w(), 'HDF document'],
939
+ 'application/x-hwp' => [%w(hwp), %w(), 'Haansoft Hangul document'],
940
+ 'application/x-hwt' => [%w(hwt), %w(), 'Haansoft Hangul document template'],
941
+ 'application/x-ica' => [%w(ica), %w(text/plain), 'Citrix ICA settings file'],
942
+ 'application/x-it87' => [%w(it87), %w(text/plain), 'IT 8.7 color calibration file'],
943
+ 'application/x-iwork-keynote-sffkey' => [%w(key), %w(application/zip), 'Apple Keynote 5 presentation'],
944
+ 'application/x-java' => [%w(class), %w(), 'Java class'],
945
+ 'application/x-java-archive' => [%w(jar), %w(application/zip), 'Java archive'],
946
+ 'application/x-java-jce-keystore' => [%w(jceks), %w(), 'Java JCE keystore'],
947
+ 'application/x-java-jnlp-file' => [%w(jnlp), %w(application/xml), 'JNLP file'],
948
+ 'application/x-java-keystore' => [%w(jks ks), %w(), 'Java keystore'],
949
+ 'application/x-java-pack200' => [%w(pack), %w(), 'Pack200 Java archive'],
950
+ 'application/x-jbuilder-project' => [%w(jpr jpx), %w(), 'JBuilder project'],
951
+ 'application/x-karbon' => [%w(karbon), %w(), 'Karbon14 drawing'],
952
+ 'application/x-kchart' => [%w(chrt), %w(), 'KChart chart'],
953
+ 'application/x-kexi-connectiondata' => [%w(kexic), %w(), 'Kexi settings for database server connection'],
954
+ 'application/x-kexiproject-shortcut' => [%w(kexis), %w(), 'shortcut to Kexi project on database server'],
955
+ 'application/x-kexiproject-sqlite2' => [%w(kexi), %w(application/x-sqlite2), 'Kexi database file-based project'],
956
+ 'application/x-kexiproject-sqlite3' => [%w(kexi), %w(application/x-sqlite3), 'Kexi database file-based project'],
957
+ 'application/x-kformula' => [%w(kfo), %w(), 'KFormula formula'],
958
+ 'application/x-killustrator' => [%w(kil), %w(), 'KIllustrator drawing'],
959
+ 'application/x-kivio' => [%w(flw), %w(), 'Kivio flowchart'],
960
+ 'application/x-kontour' => [%w(kon), %w(), 'Kontour drawing'],
961
+ 'application/x-kpovmodeler' => [%w(kpm), %w(), 'KPovModeler scene'],
962
+ 'application/x-kpresenter' => [%w(kpr kpt), %w(), 'KPresenter presentation'],
963
+ 'application/x-krita' => [%w(kra), %w(), 'Krita document'],
964
+ 'application/x-kspread' => [%w(ksp), %w(), 'KSpread spreadsheet'],
965
+ 'application/x-kugar' => [%w(kud), %w(), 'Kugar document'],
966
+ 'application/x-kword' => [%w(kwd kwt), %w(), 'KWord document'],
967
+ 'application/x-lha' => [%w(lha lzh), %w(), 'LHA archive'],
968
+ 'application/x-lhz' => [%w(lhz), %w(), 'LHZ archive'],
969
+ 'application/x-lrzip' => [%w(lrz), %w(), 'Lrzip archive'],
970
+ 'application/x-lrzip-compressed-tar' => [%w(tar.lrz tlrz), %w(application/x-lrzip), 'Tar archive (lrzip-compressed)'],
971
+ 'application/x-lyx' => [%w(lyx), %w(text/plain), 'LyX document'],
972
+ 'application/x-lz4' => [%w(lz4), %w(), 'LZ4 archive'],
973
+ 'application/x-lzip' => [%w(lz), %w(), 'Lzip archive'],
974
+ 'application/x-lzma' => [%w(lzma), %w(), 'LZMA archive'],
975
+ 'application/x-lzma-compressed-tar' => [%w(tar.lzma tlz), %w(application/x-lzma), 'Tar archive (LZMA-compressed)'],
976
+ 'application/x-lzop' => [%w(lzo), %w(), 'LZO archive'],
977
+ 'application/x-m4' => [%w(m4), %w(text/plain), 'M4 macro'],
978
+ 'application/x-magicpoint' => [%w(mgp), %w(text/plain), 'MagicPoint presentation'],
979
+ 'application/x-markaby' => [%w(mab), %w(application/x-ruby), 'Markaby script'],
980
+ 'application/x-mif' => [%w(mif), %w(), 'Adobe FrameMaker MIF document'],
981
+ 'application/x-mimearchive' => [%w(mht mhtml), %w(multipart/related), 'MHTML web archive'],
982
+ 'application/x-mobipocket-ebook' => [%w(mobi prc), %w(application/x-palm-database), 'Mobipocket e-book'],
983
+ 'application/x-ms-dos-executable' => [%w(exe), %w(), 'DOS/Windows executable'],
984
+ 'application/x-ms-wim' => [%w(swm wim), %w(), 'WIM disk Image'],
985
+ 'application/x-msi' => [%w(msi), %w(application/x-ole-storage), 'Windows Installer package'],
986
+ 'application/x-mswinurl' => [%w(url), %w(), 'Internet shortcut'],
987
+ 'application/x-mswrite' => [%w(wri), %w(), 'WRI document'],
988
+ 'application/x-msx-rom' => [%w(msx), %w(), 'MSX ROM'],
989
+ 'application/x-n64-rom' => [%w(n64 v64 z64), %w(), 'Nintendo64 ROM'],
990
+ 'application/x-navi-animation' => [%w(ani), %w(), 'Windows animated cursor'],
991
+ 'application/x-nes-rom' => [%w(nes nez unf unif), %w(), 'NES ROM'],
992
+ 'application/x-netcdf' => [%w(cdf nc), %w(), 'Unidata NetCDF document'],
993
+ 'application/x-netshow-channel' => [%w(nsc), %w(application/vnd.ms-asf), 'Windows Media Station file'],
994
+ 'application/x-nintendo-ds-rom' => [%w(nds), %w(), 'Nintendo DS ROM'],
995
+ 'application/x-nzb' => [%w(nzb), %w(application/xml), 'NewzBin usenet index'],
996
+ 'application/x-object' => [%w(o), %w(), 'object code'],
997
+ 'application/x-oleo' => [%w(oleo), %w(), 'GNU Oleo spreadsheet'],
998
+ 'application/x-pagemaker' => [%w(p65 pm pm6 pmd), %w(application/x-ole-storage), 'Adobe PageMaker'],
999
+ 'application/x-pak' => [%w(pak), %w(), 'PAK archive'],
1000
+ 'application/x-par2' => [%w(par2 par2), %w(), 'Parchive archive'],
1001
+ 'application/x-partial-download' => [%w(crdownload part wkdownload), %w(), 'Partially downloaded file'],
1002
+ 'application/x-pc-engine-rom' => [%w(pce), %w(), 'PC Engine ROM'],
1003
+ 'application/x-perl' => [%w(al perl pl pl pm pod t), %w(application/x-executable text/plain), 'Perl script'],
1004
+ 'application/x-php' => [%w(php php3 php4 php5 phps), %w(text/plain), 'PHP script'],
1005
+ 'application/x-pkcs7-certificates' => [%w(p7b spc), %w(), 'PKCS#7 certificate bundle'],
1006
+ 'application/x-planperfect' => [%w(pln), %w(), 'PlanPerfect spreadsheet'],
1007
+ 'application/x-pocket-word' => [%w(psw), %w(), 'Pocket Word document'],
1008
+ 'application/x-pw' => [%w(pw), %w(), 'Pathetic Writer document'],
1009
+ 'application/x-python-bytecode' => [%w(pyc pyo), %w(), 'Python bytecode'],
1010
+ 'application/x-qpress' => [%w(qp), %w(), 'Qpress archive'],
1011
+ 'application/x-qtiplot' => [%w(qti qti.gz), %w(text/plain), 'QtiPlot document'],
1012
+ 'application/x-quattropro' => [%w(wb1 wb2 wb3), %w(), 'Quattro Pro spreadsheet'],
1013
+ 'application/x-qw' => [%w(qif), %w(), 'Quicken document'],
1014
+ 'application/x-rar' => [%w(rar), %w(), 'RAR archive'],
1015
+ 'application/x-raw-disk-image' => [%w(img raw-disk-image), %w(), 'Raw disk image'],
1016
+ 'application/x-raw-disk-image-xz-compressed' => [%w(img.xz raw-disk-image.xz), %w(application/x-xz), 'Raw disk image (XZ-compressed)'],
1017
+ 'application/x-rpm' => [%w(rpm), %w(), 'RPM package'],
1018
+ 'application/x-ruby' => [%w(rb), %w(application/x-executable text/plain), 'Ruby script'],
1019
+ 'application/x-sami' => [%w(sami smi), %w(text/plain), 'SAMI subtitles'],
1020
+ 'application/x-saturn-rom' => [%w(bin iso), %w(), 'Sega Saturn disc image'],
1021
+ 'application/x-shar' => [%w(shar), %w(), 'shell archive'],
1022
+ 'application/x-shared-library-la' => [%w(la), %w(text/plain), 'libtool shared library'],
1023
+ 'application/x-sharedlib' => [%w(so), %w(), 'shared library'],
1024
+ 'application/x-shellscript' => [%w(sh), %w(application/x-executable text/plain), 'shell script'],
1025
+ 'application/x-siag' => [%w(siag), %w(), 'Siag spreadsheet'],
1026
+ 'application/x-sms-rom' => [%w(gg sg sms), %w(), 'Sega Master System/Game Gear ROM'],
1027
+ 'application/x-source-rpm' => [%w(spm src.rpm), %w(application/x-rpm), 'Source RPM package'],
1028
+ 'application/x-spss-por' => [%w(por), %w(), 'SPSS Portable Data File'],
1029
+ 'application/x-spss-sav' => [%w(sav zsav), %w(), 'SPSS Data File'],
1030
+ 'application/x-stuffit' => [%w(sit), %w(), 'StuffIt archive'],
1031
+ 'application/x-subrip' => [%w(srt), %w(text/plain), 'SubRip subtitles'],
1032
+ 'application/x-sv4cpio' => [%w(sv4cpio), %w(), 'SV4 CPIO archive'],
1033
+ 'application/x-sv4crc' => [%w(sv4crc), %w(), 'SV4 CPIO archive (with CRC)'],
1034
+ 'application/x-t602' => [%w(602), %w(), 'T602 document'],
1035
+ 'application/x-tar' => [%w(gem gtar tar), %w(), 'Tar archive'],
1036
+ 'application/x-tarz' => [%w(tar.z taz), %w(application/x-compress), 'Tar archive (compressed)'],
1037
+ 'application/x-tex-gf' => [%w(gf), %w(), 'generic font file'],
1038
+ 'application/x-tex-pk' => [%w(pk), %w(), 'packed font file'],
1039
+ 'application/x-tgif' => [%w(obj), %w(), 'TGIF document'],
1040
+ 'application/x-theme' => [%w(theme), %w(application/x-desktop), 'theme'],
1041
+ 'application/x-trash' => [%w(bak old sik), %w(), 'backup file'],
1042
+ 'application/x-trig' => [%w(trig), %w(text/plain), 'TriG RDF document'],
1043
+ 'application/x-troff-man' => [%w(man), %w(text/plain), 'Manpage manual document'],
1044
+ 'application/x-tzo' => [%w(tar.lzo tzo), %w(application/x-lzop), 'Tar archive (LZO-compressed)'],
1045
+ 'application/x-ufraw' => [%w(ufraw), %w(text/xml), 'UFRaw ID image'],
1046
+ 'application/x-ustar' => [%w(ustar), %w(), 'Ustar archive'],
1047
+ 'application/x-wais-source' => [%w(src), %w(text/plain), 'WAIS source code'],
1048
+ 'application/x-wii-rom' => [%w(iso), %w(), 'Wii disc image'],
1049
+ 'application/x-wii-wad' => [%w(wad), %w(), 'WiiWare bundle'],
1050
+ 'application/x-windows-themepack' => [%w(themepack), %w(application/vnd.ms-cab-compressed), 'Microsoft Windows theme pack'],
1051
+ 'application/x-wpg' => [%w(wpg), %w(), 'WordPerfect/Drawperfect image'],
1052
+ 'application/x-wwf' => [%w(wwf), %w(application/pdf), 'WWF document'],
1053
+ 'application/x-x509-ca-cert' => [%w(cert crt der pem), %w(), 'DER/PEM/Netscape-encoded X.509 certificate'],
1054
+ 'application/x-xar' => [%w(pkg xar), %w(), 'XAR archive'],
1055
+ 'application/x-xbel' => [%w(xbel), %w(application/xml), 'XBEL bookmarks'],
1056
+ 'application/x-xliff' => [%w(xlf xliff), %w(application/xml), 'XLIFF translation file'],
1057
+ 'application/x-xpinstall' => [%w(xpi), %w(application/zip), 'XPInstall installer module'],
1058
+ 'application/x-xz' => [%w(xz), %w(), 'XZ archive'],
1059
+ 'application/x-xz-compressed-tar' => [%w(tar.xz txz), %w(application/x-xz), 'Tar archive (XZ-compressed)'],
1060
+ 'application/x-xzpdf' => [%w(pdf.xz), %w(application/x-xz), 'PDF document (XZ-compressed)'],
1061
+ 'application/x-yaml' => [%w(yaml yml), %w(text/plain), 'YAML document'],
1062
+ 'application/x-zip-compressed-fb2' => [%w(fb2.zip), %w(application/zip), 'Compressed FictionBook document'],
1063
+ 'application/x-zoo' => [%w(zoo), %w(), 'Zoo archive'],
1064
+ 'application/xhtml+xml' => [%w(xht xhtml), %w(application/xml), 'XHTML page'],
1065
+ 'application/xml' => [%w(rng xbl xml xsd), %w(text/plain), 'XML document'],
1066
+ 'application/xml-dtd' => [%w(dtd), %w(text/plain), 'DTD file'],
1067
+ 'application/xml-external-parsed-entity' => [%w(ent), %w(application/xml), 'XML entities document'],
1068
+ 'application/xslt+xml' => [%w(xsl xslt), %w(application/xml), 'XSLT stylesheet'],
1069
+ 'application/xspf+xml' => [%w(xspf), %w(application/xml), 'XSPF playlist'],
1070
+ 'application/zip' => [%w(zip), %w(), 'Zip archive'],
1071
+ 'application/zlib' => [%w(zz), %w(), 'Zlib archive'],
1072
+ 'image/bmp' => [%w(bmp), %w(), 'Windows BMP image'],
1073
+ 'image/cgm' => [%w(cgm), %w(), 'Computer Graphics Metafile'],
1074
+ 'image/fax-g3' => [%w(g3), %w(), 'CCITT G3 fax'],
1075
+ 'image/fits' => [%w(fits), %w(), 'FITS document'],
1076
+ 'image/gif' => [%w(gif), %w(), 'GIF image'],
1077
+ 'image/ief' => [%w(ief), %w(), 'IEF image'],
1078
+ 'image/jp2' => [%w(jp2 jpf jpx), %w(), 'JPEG-2000 image'],
1079
+ 'image/jpeg' => [%w(jpe jpeg jpg), %w(), 'JPEG image'],
1080
+ 'image/openraster' => [%w(ora), %w(), 'OpenRaster archiving image'],
1081
+ 'image/png' => [%w(png), %w(), 'PNG image'],
1082
+ 'image/rle' => [%w(rle), %w(), 'Run Length Encoded bitmap image'],
1083
+ 'image/svg+xml' => [%w(svg), %w(application/xml), 'SVG image'],
1084
+ 'image/svg+xml-compressed' => [%w(svgz), %w(application/gzip), 'compressed SVG image'],
1085
+ 'image/tiff' => [%w(tif tiff), %w(), 'TIFF image'],
1086
+ 'image/vnd.adobe.photoshop' => [%w(psd), %w(), 'Photoshop image'],
1087
+ 'image/vnd.djvu' => [%w(djv djvu), %w(), 'DjVu image'],
1088
+ 'image/vnd.dwg' => [%w(dwg), %w(), 'AutoCAD image'],
1089
+ 'image/vnd.dxf' => [%w(dxf), %w(), 'DXF vector image'],
1090
+ 'image/vnd.microsoft.icon' => [%w(ico), %w(), 'Windows icon'],
1091
+ 'image/vnd.ms-modi' => [%w(mdi), %w(), 'Microsoft Document Imaging format'],
1092
+ 'image/vnd.rn-realpix' => [%w(rp), %w(), 'RealPix document'],
1093
+ 'image/vnd.wap.wbmp' => [%w(wbmp), %w(), 'WBMP image'],
1094
+ 'image/vnd.zbrush.pcx' => [%w(pcx), %w(), 'PCX image'],
1095
+ 'image/webp' => [%w(webp), %w(), 'WebP image'],
1096
+ 'image/x-3ds' => [%w(3ds), %w(), '3D Studio image'],
1097
+ 'image/x-adobe-dng' => [%w(dng), %w(image/tiff image/x-dcraw), 'Adobe DNG negative'],
1098
+ 'image/x-applix-graphics' => [%w(ag), %w(), 'Applix Graphics image'],
1099
+ 'image/x-bzeps' => [%w(eps.bz2 epsf.bz2 epsi.bz2), %w(application/x-bzip), 'EPS image (bzip-compressed)'],
1100
+ 'image/x-canon-cr2' => [%w(cr2), %w(image/tiff image/x-dcraw), 'Canon CR2 raw image'],
1101
+ 'image/x-canon-crw' => [%w(crw), %w(image/x-dcraw), 'Canon CRW raw image'],
1102
+ 'image/x-cmu-raster' => [%w(ras), %w(), 'CMU raster image'],
1103
+ 'image/x-compressed-xcf' => [%w(xcf.bz2 xcf.gz), %w(), 'compressed GIMP image'],
1104
+ 'image/x-dds' => [%w(dds), %w(), 'DirectDraw surface'],
1105
+ 'image/x-emf' => [%w(emf), %w(), 'EMF image'],
1106
+ 'image/x-eps' => [%w(eps epsf epsi), %w(application/postscript), 'EPS image'],
1107
+ 'image/x-exr' => [%w(exr), %w(), 'EXR image'],
1108
+ 'image/x-fuji-raf' => [%w(raf), %w(image/x-dcraw), 'Fuji RAF raw image'],
1109
+ 'image/x-gzeps' => [%w(eps.gz epsf.gz epsi.gz), %w(application/gzip), 'EPS image (gzip-compressed)'],
1110
+ 'image/x-icns' => [%w(icns), %w(), 'MacOS X icon'],
1111
+ 'image/x-ilbm' => [%w(iff ilbm lbm), %w(application/x-iff), 'ILBM image'],
1112
+ 'image/x-jng' => [%w(jng), %w(), 'JNG image'],
1113
+ 'image/x-kodak-dcr' => [%w(dcr), %w(image/tiff image/x-dcraw), 'Kodak DCR raw image'],
1114
+ 'image/x-kodak-k25' => [%w(k25), %w(image/tiff image/x-dcraw), 'Kodak K25 raw image'],
1115
+ 'image/x-kodak-kdc' => [%w(kdc), %w(image/tiff image/x-dcraw), 'Kodak KDC raw image'],
1116
+ 'image/x-lwo' => [%w(lwo lwob), %w(), 'LightWave object'],
1117
+ 'image/x-lws' => [%w(lws), %w(), 'LightWave scene'],
1118
+ 'image/x-macpaint' => [%w(pntg), %w(), 'MacPaint Bitmap image'],
1119
+ 'image/x-minolta-mrw' => [%w(mrw), %w(image/x-dcraw), 'Minolta MRW raw image'],
1120
+ 'image/x-msod' => [%w(msod), %w(), 'Office drawing'],
1121
+ 'image/x-nikon-nef' => [%w(nef), %w(image/tiff image/x-dcraw), 'Nikon NEF raw image'],
1122
+ 'image/x-olympus-orf' => [%w(orf), %w(image/x-dcraw), 'Olympus ORF raw image'],
1123
+ 'image/x-panasonic-raw' => [%w(raw), %w(image/x-dcraw), 'Panasonic raw image'],
1124
+ 'image/x-panasonic-raw2' => [%w(rw2), %w(image/x-dcraw), 'Panasonic raw2 image'],
1125
+ 'image/x-pentax-pef' => [%w(pef), %w(image/tiff image/x-dcraw), 'Pentax PEF raw image'],
1126
+ 'image/x-photo-cd' => [%w(pcd), %w(), 'PCD image'],
1127
+ 'image/x-pict' => [%w(pct pict pict1 pict2), %w(), 'Macintosh Quickdraw/PICT drawing'],
1128
+ 'image/x-portable-anymap' => [%w(pnm), %w(), 'PNM image'],
1129
+ 'image/x-portable-bitmap' => [%w(pbm), %w(image/x-portable-anymap), 'PBM image'],
1130
+ 'image/x-portable-graymap' => [%w(pgm), %w(image/x-portable-anymap), 'PGM image'],
1131
+ 'image/x-portable-pixmap' => [%w(ppm), %w(image/x-portable-anymap), 'PPM image'],
1132
+ 'image/x-quicktime' => [%w(qif qtif), %w(), 'QuickTime image'],
1133
+ 'image/x-rgb' => [%w(rgb), %w(), 'RGB image'],
1134
+ 'image/x-sgi' => [%w(sgi), %w(), 'SGI image'],
1135
+ 'image/x-sigma-x3f' => [%w(x3f), %w(image/x-dcraw), 'Sigma X3F raw image'],
1136
+ 'image/x-skencil' => [%w(sk sk1), %w(), 'Skencil document'],
1137
+ 'image/x-sony-arw' => [%w(arw), %w(image/tiff image/x-dcraw), 'Sony ARW raw image'],
1138
+ 'image/x-sony-sr2' => [%w(sr2), %w(image/tiff image/x-dcraw), 'Sony SR2 raw image'],
1139
+ 'image/x-sony-srf' => [%w(srf), %w(image/tiff image/x-dcraw), 'Sony SRF raw image'],
1140
+ 'image/x-sun-raster' => [%w(sun), %w(), 'Sun raster image'],
1141
+ 'image/x-tga' => [%w(icb tga tpic vda vst), %w(), 'TGA image'],
1142
+ 'image/x-win-bitmap' => [%w(cur), %w(), 'Windows cursor'],
1143
+ 'image/x-wmf' => [%w(wmf), %w(), 'WMF image'],
1144
+ 'image/x-xbitmap' => [%w(xbm), %w(), 'XBM image'],
1145
+ 'image/x-xcf' => [%w(xcf), %w(), 'GIMP image'],
1146
+ 'image/x-xfig' => [%w(fig), %w(), 'XFig image'],
1147
+ 'image/x-xpixmap' => [%w(xpm), %w(), 'XPM image'],
1148
+ 'image/x-xwindowdump' => [%w(xwd), %w(), 'X window image'],
1149
+ 'message/rfc822' => [%w(eml), %w(text/plain), 'email message'],
1150
+ 'model/vrml' => [%w(vrm vrml wrl), %w(text/plain), 'VRML document'],
1151
+ 'text/cache-manifest' => [%w(manifest), %w(text/plain), 'Web application cache manifest'],
1152
+ 'text/calendar' => [%w(ics vcs), %w(text/plain), 'VCS/ICS calendar'],
1153
+ 'text/css' => [%w(css), %w(text/plain), 'CSS stylesheet'],
1154
+ 'text/csv' => [%w(csv), %w(text/plain), 'CSV document'],
1155
+ 'text/csv-schema' => [%w(csvs), %w(text/plain), 'CSV Schema document'],
1156
+ 'text/html' => [%w(htm html), %w(text/plain), 'HTML document'],
1157
+ 'text/markdown' => [%w(markdown md mkd), %w(text/plain), 'Markdown document'],
1158
+ 'text/plain' => [%w(asc txt), %w(), 'plain text document'],
1159
+ 'text/richtext' => [%w(rtx), %w(text/plain), 'rich text document'],
1160
+ 'text/rust' => [%w(rs), %w(text/plain), 'Rust source code'],
1161
+ 'text/sgml' => [%w(sgm sgml), %w(text/plain), 'SGML document'],
1162
+ 'text/spreadsheet' => [%w(slk sylk), %w(text/plain), 'spreadsheet interchange document'],
1163
+ 'text/tab-separated-values' => [%w(tsv), %w(text/plain), 'TSV document'],
1164
+ 'text/troff' => [%w(roff t tr), %w(text/plain), 'Troff document'],
1165
+ 'text/turtle' => [%w(ttl), %w(text/plain), 'Turtle document'],
1166
+ 'text/vcard' => [%w(gcrd vcard vcf vct), %w(text/plain), 'electronic business card'],
1167
+ 'text/vnd.graphviz' => [%w(dot gv), %w(), 'Graphviz DOT graph'],
1168
+ 'text/vnd.rn-realtext' => [%w(rt), %w(), 'RealText document'],
1169
+ 'text/vnd.sun.j2me.app-descriptor' => [%w(jad), %w(), 'JAD document'],
1170
+ 'text/vnd.trolltech.linguist' => [%w(ts), %w(application/xml), 'message catalog'],
1171
+ 'text/vnd.wap.wml' => [%w(wml), %w(application/xml), 'WML document'],
1172
+ 'text/vnd.wap.wmlscript' => [%w(wmls), %w(), 'WMLScript program'],
1173
+ 'text/vtt' => [%w(vtt), %w(text/plain), 'WebVTT subtitles'],
1174
+ 'text/x-adasrc' => [%w(adb ads), %w(text/plain), 'Ada source code'],
1175
+ 'text/x-bibtex' => [%w(bib), %w(text/plain), 'BibTeX document'],
1176
+ 'text/x-c++hdr' => [%w(h++ hh hp hpp hxx), %w(text/x-chdr), 'C++ header'],
1177
+ 'text/x-c++src' => [%w(c c++ cc cpp cxx), %w(text/x-csrc), 'C++ source code'],
1178
+ 'text/x-chdr' => [%w(h), %w(text/x-csrc), 'C header'],
1179
+ 'text/x-cmake' => [%w(cmake), %w(text/plain), 'CMake source code'],
1180
+ 'text/x-cobol' => [%w(cbl cob), %w(text/plain), 'COBOL source file'],
1181
+ 'text/x-csharp' => [%w(cs), %w(text/x-csrc), 'C# source code'],
1182
+ 'text/x-csrc' => [%w(c), %w(text/plain), 'C source code'],
1183
+ 'text/x-dcl' => [%w(dcl), %w(text/plain), 'DCL script'],
1184
+ 'text/x-dsl' => [%w(dsl), %w(text/plain), 'DSSSL document'],
1185
+ 'text/x-dsrc' => [%w(d di), %w(text/x-csrc), 'D source code'],
1186
+ 'text/x-eiffel' => [%w(e eif), %w(text/plain), 'Eiffel source code'],
1187
+ 'text/x-emacs-lisp' => [%w(el), %w(text/plain), 'Emacs Lisp source code'],
1188
+ 'text/x-erlang' => [%w(erl), %w(text/plain), 'Erlang source code'],
1189
+ 'text/x-fortran' => [%w(f f90 f95 for), %w(text/plain), 'Fortran source code'],
1190
+ 'text/x-genie' => [%w(gs), %w(text/plain), 'Genie source code'],
1191
+ 'text/x-gettext-translation' => [%w(po), %w(text/plain), 'translation file'],
1192
+ 'text/x-gettext-translation-template' => [%w(pot), %w(text/plain), 'translation template'],
1193
+ 'text/x-go' => [%w(go), %w(text/plain), 'Go source code'],
1194
+ 'text/x-haskell' => [%w(hs), %w(text/plain), 'Haskell source code'],
1195
+ 'text/x-iMelody' => [%w(ime imy), %w(), 'iMelody ringtone'],
1196
+ 'text/x-idl' => [%w(idl), %w(text/plain), 'IDL document'],
1197
+ 'text/x-iptables' => [%w(iptables), %w(text/plain), 'iptables configuration file'],
1198
+ 'text/x-java' => [%w(java), %w(text/x-csrc), 'Java source code'],
1199
+ 'text/x-ldif' => [%w(ldif), %w(text/plain), 'LDIF address book'],
1200
+ 'text/x-lilypond' => [%w(ly), %w(text/plain), 'Lilypond music sheet'],
1201
+ 'text/x-literate-haskell' => [%w(lhs), %w(text/plain), 'LHS source code'],
1202
+ 'text/x-log' => [%w(log), %w(text/plain), 'application log'],
1203
+ 'text/x-lua' => [%w(lua), %w(application/x-executable text/plain), 'Lua script'],
1204
+ 'text/x-makefile' => [%w(mak mk), %w(text/plain), 'Makefile'],
1205
+ 'text/x-matlab' => [%w(m), %w(text/plain), 'MATLAB script/function'],
1206
+ 'text/x-microdvd' => [%w(sub), %w(text/plain), 'MicroDVD subtitles'],
1207
+ 'text/x-moc' => [%w(moc), %w(text/plain), 'Qt MOC file'],
1208
+ 'text/x-modelica' => [%w(mo), %w(text/plain), 'Modelica model'],
1209
+ 'text/x-mof' => [%w(mof), %w(text/x-csrc), 'Managed Object Format'],
1210
+ 'text/x-mpsub' => [%w(sub), %w(text/plain), 'MPSub subtitles'],
1211
+ 'text/x-mrml' => [%w(mrl mrml), %w(), 'MRML playlist'],
1212
+ 'text/x-ms-regedit' => [%w(reg), %w(text/plain), 'Windows Registry extract'],
1213
+ 'text/x-mup' => [%w(mup not), %w(text/plain), 'Mup publication'],
1214
+ 'text/x-nfo' => [%w(nfo), %w(text/x-readme), 'NFO document'],
1215
+ 'text/x-objcsrc' => [%w(m), %w(text/x-csrc), 'Objective-C source code'],
1216
+ 'text/x-ocaml' => [%w(ml mli), %w(), 'OCaml source code'],
1217
+ 'text/x-ocl' => [%w(ocl), %w(text/plain), 'OCL file'],
1218
+ 'text/x-ooc' => [%w(ooc), %w(text/x-csrc), 'OOC source code'],
1219
+ 'text/x-opml+xml' => [%w(opml), %w(application/xml), 'OPML syndication feed'],
1220
+ 'text/x-pascal' => [%w(p pas), %w(text/plain), 'Pascal source code'],
1221
+ 'text/x-patch' => [%w(diff patch), %w(text/plain), 'differences between files'],
1222
+ 'text/x-python' => [%w(py pyx wsgi), %w(application/x-executable text/plain), 'Python script'],
1223
+ 'text/x-qml' => [%w(qml qmlproject qmltypes), %w(), 'Qt Markup Language file'],
1224
+ 'text/x-reject' => [%w(rej), %w(text/plain), 'rejected patch'],
1225
+ 'text/x-rpm-spec' => [%w(spec), %w(text/plain), 'RPM spec file'],
1226
+ 'text/x-scala' => [%w(scala), %w(text/plain), 'Scala source code'],
1227
+ 'text/x-scheme' => [%w(scm ss), %w(text/plain), 'Scheme source code'],
1228
+ 'text/x-setext' => [%w(etx), %w(text/plain), 'Setext document'],
1229
+ 'text/x-ssa' => [%w(ass ssa), %w(text/plain), 'SSA subtitles'],
1230
+ 'text/x-subviewer' => [%w(sub), %w(text/plain), 'SubViewer subtitles'],
1231
+ 'text/x-svhdr' => [%w(svh), %w(text/x-verilog), 'SystemVerilog header'],
1232
+ 'text/x-svsrc' => [%w(sv), %w(text/x-verilog), 'SystemVerilog source code'],
1233
+ 'text/x-tcl' => [%w(tcl tk), %w(text/plain), 'Tcl script'],
1234
+ 'text/x-tex' => [%w(cls dtx ins latex ltx sty tex), %w(text/plain), 'TeX document'],
1235
+ 'text/x-texinfo' => [%w(texi texinfo), %w(text/plain), 'TeXInfo document'],
1236
+ 'text/x-troff-me' => [%w(me), %w(text/plain), 'Troff ME input document'],
1237
+ 'text/x-troff-mm' => [%w(mm), %w(text/plain), 'Troff MM input document'],
1238
+ 'text/x-troff-ms' => [%w(ms), %w(text/plain), 'Troff MS input document'],
1239
+ 'text/x-txt2tags' => [%w(t2t), %w(text/plain), 'txt2tags document'],
1240
+ 'text/x-uil' => [%w(uil), %w(text/plain), 'X-Motif UIL table'],
1241
+ 'text/x-uuencode' => [%w(uue), %w(text/plain), 'uuencoded file'],
1242
+ 'text/x-vala' => [%w(vala vapi), %w(text/x-csrc), 'Vala source code'],
1243
+ 'text/x-verilog' => [%w(v), %w(text/plain), 'Verilog source code'],
1244
+ 'text/x-vhdl' => [%w(vhd vhdl), %w(text/plain), 'VHDL source code'],
1245
+ 'text/x-xmi' => [%w(xmi), %w(application/xml), 'XMI file'],
1246
+ 'text/x-xslfo' => [%w(fo xslfo), %w(application/xml), 'XSL FO file'],
1247
+ 'x-epoc/x-sisx-app' => [%w(sisx), %w(), 'SISX package'],
1248
+ }
1249
+ # @private
1250
+ # :nodoc:
1251
+ MAGIC = [
1252
+ ['image/jpeg', [[0, "\377\330\377"], [0, "\377\330"]]],
1253
+ ['image/png', [[0, "\211PNG"]]],
1254
+ ['image/gif', [[0, 'GIF8']]],
1255
+ ['image/tiff', [[0, "MM\000*"], [0, "II*\000"]]],
1256
+ ['image/bmp', [[0, 'BM', [[14, "\f"], [14, '@'], [14, '(']]]]],
1257
+ ['image/vnd.adobe.photoshop', []],
1258
+ ['image/webp', [[0, 'RIFF', [[8, 'WEBP']]]]],
1259
+ ['image/svg+xml', [[0..256, '<!DOCTYPE svg'], [0..256, '<svg']]],
1260
+ ['application/pdf', [[0..1024, '%PDF-']]],
1261
+ ['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']]],
1262
+ ['application/vnd.ms-excel', [[2080, 'Microsoft Excel 5.0 Worksheet']]],
1263
+ ['application/vnd.stardivision.writer', [[2089, 'StarWriter']]],
1264
+ ['application/x-docbook+xml', [[0, '<?xml', [[0..100, '-//OASIS//DTD DocBook XML'], [0..100, '-//KDE//DTD DocBook XML']]]]],
1265
+ ['image/x-eps', [[0, '%!', [[15, 'EPS']]], [0, "\004%!", [[16, 'EPS']]], [0, "\305\320\323\306"]]],
1266
+ ['application/prs.plucker', [[60, 'DataPlkr']]],
1267
+ ['application/vnd.corel-draw', []],
1268
+ ['application/x-fictionbook+xml', [[0..256, '<FictionBook']]],
1269
+ ['application/x-mobipocket-ebook', [[60, 'BOOKMOBI']]],
1270
+ ['application/x-mozilla-bookmarks', [[0..64, '<!DOCTYPE NETSCAPE-Bookmark-file-1>']]],
1271
+ ['application/x-nzb', [[0..256, '<nzb']]],
1272
+ ['application/x-pak', [[0, 'PACK']]],
1273
+ ['application/x-php', [[0..64, '<?php']]],
1274
+ ['application/x-xliff', [[0..256, '<xliff']]],
1275
+ ['application/x-zip-compressed-fb2', [[0, "PK\003\004", [[30..256, '.fb2']]]]],
1276
+ ['image/x-kodak-kdc', [[242, 'EASTMAN KODAK COMPANY']]],
1277
+ ['image/x-niff', [[0, 'IIN1']]],
1278
+ ['text/x-qml', [[0..256, 'import Qt ']]],
1279
+ ['application/atom+xml', [[0..256, '<feed ']]],
1280
+ ['application/rss+xml', [[0..256, '<rss '], [0..256, '<RSS ']]],
1281
+ ['application/vnd.apple.mpegurl', [[0, '#EXTM3U', [[0..128, '#EXT-X-TARGETDURATION'], [0..128, '#EXT-X-STREAM-INF']]]]],
1282
+ ['text/x-opml+xml', [[0..256, '<opml ']]],
1283
+ ['application/vnd.ms-cab-compressed', [[0, "MSCF\000\000\000\000"]]],
1284
+ ['application/vnd.ms-wpl', [[0..256, '<?wpl']]],
1285
+ ['application/x-7z-compressed', [[0, "7z\274\257'\034"]]],
1286
+ ['application/x-ace', [[7, '**ACE**']]],
1287
+ ['application/x-arc', []],
1288
+ ['application/x-cpio', [[0, "\307q"], [0, '070701'], [0, '070702'], [0, "q\307"]]],
1289
+ ['application/x-font-type1', [[0, 'LWFN'], [65, 'LWFN'], [0, '%!PS-AdobeFont-1.'], [6, '%!PS-AdobeFont-1.'], [0, '%!FontType1-1.'], [6, '%!FontType1-1.']]],
1290
+ ['application/x-java-pack200', [[0, "\312\376\320\r"]]],
1291
+ ['application/x-karbon', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-karbon\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-karbon']]]]]]],
1292
+ ['application/x-kchart', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kchart\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kchart']]]]]]],
1293
+ ['application/x-kformula', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kformula\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kformula']]]]]]],
1294
+ ['application/x-killustrator', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-killustrator\004\006"]]]]]]],
1295
+ ['application/x-kivio', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kivio\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kivio']]]]]]],
1296
+ ['application/x-kontour', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kontour\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kontour']]]]]]],
1297
+ ['application/x-kpresenter', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kpresenter\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kpresenter']]]]]]],
1298
+ ['application/x-krita', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-krita\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-krita']]]]]]],
1299
+ ['application/x-kspread', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kspread\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kspread']]]]]]],
1300
+ ['application/x-kword', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kword\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kword']]]]]]],
1301
+ ['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-']]],
1302
+ ['application/x-lrzip', [[0, 'LRZI']]],
1303
+ ['application/x-lz4', [[0, "\004\"M\030"], [0, "\002!L\030"]]],
1304
+ ['application/x-lzip', [[0, 'LZIP']]],
1305
+ ['application/x-lzop', [[0, "\211LZO\000\r\n\032\n"]]],
1306
+ ['application/x-par2', [[0, 'PAR2']]],
1307
+ ['application/x-qpress', [[0, 'qpress10']]],
1308
+ ['application/x-quicktime-media-link', [[0, '<?xml', [[0..64, '<?quicktime']]], [0, 'RTSPtext'], [0, 'rtsptext'], [0, 'SMILtext']]],
1309
+ ['application/x-rar', [[0, 'Rar!']]],
1310
+ ['application/x-stuffit', [[0, 'StuffIt '], [0, 'SIT!']]],
1311
+ ['application/x-tar', [[257, "ustar\000"], [257, "ustar \000"]]],
1312
+ ['application/x-xar', [[0, 'xar!']]],
1313
+ ['application/x-xz', [[0, "\3757zXZ\000"]]],
1314
+ ['application/x-zoo', [[20, "\334\247\304\375"]]],
1315
+ ['application/xhtml+xml', [[0..256, '//W3C//DTD XHTML '], [0..256, 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'], [0..256, "<html xmlns=\"http://www.w3.org/1999/xhtml"], [0..256, "<HTML xmlns=\"http://www.w3.org/1999/xhtml"]]],
1316
+ ['text/x-txt2tags', [[0, '%!postproc'], [0, '%!encoding']]],
1317
+ ['application/smil+xml', [[0..256, '<smil']]],
1318
+ ['application/annodex', [[0, 'OggS', [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
1319
+ ['application/dicom', [[128, 'DICM']]],
1320
+ ['application/epub+zip', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/epub+zip'], [43, 'application/epub+zip']]]]]]],
1321
+ ['application/font-woff', [[0, 'wOFF']]],
1322
+ ['application/gnunet-directory', [[0, "\211GND\r\n\032\n"]]],
1323
+ ['application/gzip', [[0, "\037\213"]]],
1324
+ ['application/mac-binhex40', [[11, 'must be converted with BinHex']]],
1325
+ ['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']]],
1326
+ ['application/metalink+xml', [[0..256, "<metalink version=\"3.0\""]]],
1327
+ ['application/metalink4+xml', [[0..256, "<metalink xmlns=\"urn"]]],
1328
+ ['application/mxf', [[0..256, "\006\016+4\002\005\001\001\r\001\002\001\001\002"]]],
1329
+ ['application/ogg', [[0, 'OggS']]],
1330
+ ['application/owl+xml', [[0..256, '<Ontology']]],
1331
+ ['application/pgp-encrypted', [[0, '-----BEGIN PGP MESSAGE-----']]],
1332
+ ['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"]]],
1333
+ ['application/pgp-signature', [[0, '-----BEGIN PGP SIGNATURE-----']]],
1334
+ ['application/postscript', [[0, "\004%!"], [0, '%!']]],
1335
+ ['application/rtf', [[0, "{\\rtf"]]],
1336
+ ['application/sdp', [[0, 'v=', [[0..256, 's=']]]]],
1337
+ ['application/vnd.adobe.flash.movie', [[0, 'FWS'], [0, 'CWS']]],
1338
+ ['application/vnd.debian.binary-package', [[0, '!<arch>', [[8, 'debian']]]]],
1339
+ ['application/vnd.emusic-emusic_package', [[0, 'nF7YLao']]],
1340
+ ['application/vnd.iccprofile', [[36, 'acsp']]],
1341
+ ['application/vnd.lotus-1-2-3', [[0, "\000\000\002\000\006\004\006\000\b\000\000\000\000\000"]]],
1342
+ ['application/vnd.lotus-wordpro', [[0, 'WordPro']]],
1343
+ ['application/vnd.ms-access', [[0, "\000\001\000\000Standard Jet DB"]]],
1344
+ ['application/vnd.ms-asf', [[0, "0&\262u"], [0, '[Reference]']]],
1345
+ ['application/vnd.ms-tnef', [[0, "x\237>\""]]],
1346
+ ['application/vnd.oasis.opendocument.chart', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.chart']]]]]]],
1347
+ ['application/vnd.oasis.opendocument.chart-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.chart-template']]]]]]],
1348
+ ['application/vnd.oasis.opendocument.database', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.base']]]]]]],
1349
+ ['application/vnd.oasis.opendocument.formula', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.formula']]]]]]],
1350
+ ['application/vnd.oasis.opendocument.formula-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.formula-template']]]]]]],
1351
+ ['application/vnd.oasis.opendocument.graphics', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.graphics']]]]]]],
1352
+ ['application/vnd.oasis.opendocument.graphics-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.graphics-template']]]]]]],
1353
+ ['application/vnd.oasis.opendocument.image', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.image']]]]]]],
1354
+ ['application/vnd.oasis.opendocument.presentation', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.presentation']]]]]]],
1355
+ ['application/vnd.oasis.opendocument.presentation-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.presentation-template']]]]]]],
1356
+ ['application/vnd.oasis.opendocument.spreadsheet', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.spreadsheet']]]]]]],
1357
+ ['application/vnd.oasis.opendocument.spreadsheet-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.spreadsheet-template']]]]]]],
1358
+ ['application/vnd.oasis.opendocument.text', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text']]]]]]],
1359
+ ['application/vnd.oasis.opendocument.text-master', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text-master']]]]]]],
1360
+ ['application/vnd.oasis.opendocument.text-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text-template']]]]]]],
1361
+ ['application/vnd.oasis.opendocument.text-web', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text-web']]]]]]],
1362
+ ['application/vnd.rn-realmedia', [[0, '.RMF']]],
1363
+ ['application/vnd.sun.xml.calc', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.calc']]]]]]],
1364
+ ['application/vnd.sun.xml.calc.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.calc']]]]]]],
1365
+ ['application/vnd.sun.xml.draw', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.draw']]]]]]],
1366
+ ['application/vnd.sun.xml.draw.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.draw']]]]]]],
1367
+ ['application/vnd.sun.xml.impress', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.impress']]]]]]],
1368
+ ['application/vnd.sun.xml.impress.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.impress']]]]]]],
1369
+ ['application/vnd.sun.xml.math', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.math']]]]]]],
1370
+ ['application/vnd.sun.xml.writer', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.writer']]]]]]],
1371
+ ['application/vnd.sun.xml.writer.global', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.writer']]]]]]],
1372
+ ['application/vnd.sun.xml.writer.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.writer']]]]]]],
1373
+ ['application/vnd.symbian.install', [[8, "\031\004\000\020"]]],
1374
+ ['application/vnd.tcpdump.pcap', [[0, "\324\303\262\241"], [0, "\241\262\303\324"]]],
1375
+ ['application/vnd.wordperfect', [[1, 'WPC']]],
1376
+ ['application/vnd.xdgapp', [[0, "xdg-app\000\001\000\211\345"]]],
1377
+ ['application/winhlp', [[0, "?_\003\000"]]],
1378
+ ['application/x-abiword', [[0..256, '<abiword'], [0..256, '<!DOCTYPE abiword']]],
1379
+ ['application/x-alz', [[0, 'ALZ']]],
1380
+ ['application/x-amiga-disk-format', [[0, "DOS\000"]]],
1381
+ ['application/x-aportisdoc', [[60, 'TEXtREAd'], [60, 'TEXtTlDc']]],
1382
+ ['application/x-applix-spreadsheet', [[0, '*BEGIN SPREADSHEETS'], [0, '*BEGIN', [[7, 'SPREADSHEETS']]]]],
1383
+ ['application/x-applix-word', [[0, '*BEGIN', [[7, 'WORDS']]]]],
1384
+ ['application/x-arj', [[0, "`\352"]]],
1385
+ ['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']]],
1386
+ ['application/x-bittorrent', [[0, 'd8:announce']]],
1387
+ ['application/x-blender', [[0, 'BLENDER']]],
1388
+ ['application/x-bzip', [[0, 'BZh']]],
1389
+ ['application/x-ccmx', [[0, 'CCMX']]],
1390
+ ['application/x-cdrdao-toc', [[0, "CD_ROM\n"], [0, "CD_DA\n"], [0, "CD_ROM_XA\n"], [0, 'CD_TEXT '], [0, "CATALOG \"", [[22, "\""]]]]],
1391
+ ['application/x-chess-pgn', [[0, '[Event ']]],
1392
+ ['application/x-cisco-vpn-settings', [[0, '[main]', [[0..256, 'AuthType=']]]]],
1393
+ ['application/x-compress', [[0, "\037\235"]]],
1394
+ ['application/x-core', [[0, "\177ELF", [[5, "\001", [[16, "\004\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\004"]]]]], [0, "Core\001"], [0, "Core\002"]]],
1395
+ ['application/x-csh', [[2..16, '/bin/tcsh'], [2..16, '/bin/csh'], [2..16, '/bin/env csh'], [2..16, '/bin/env tcsh']]],
1396
+ ['application/x-dar', [[0, "\000\000\000{"]]],
1397
+ ['application/x-designer', [[0..256, '<ui '], [0..256, '<UI ']]],
1398
+ ['application/x-desktop', [[0..32, '[Desktop Entry]'], [0, '[Desktop Action'], [0, '[KDE Desktop Entry]'], [0, '# Config File'], [0, '# KDE Config File']]],
1399
+ ['application/x-dia-diagram', [[5..100, '<dia:']]],
1400
+ ['application/x-dia-shape', [[5..100, '<shape']]],
1401
+ ['application/x-doom-wad', [[0, 'IWAD'], [0, 'PWAD']]],
1402
+ ['application/x-dvi', [[0, "\367\002"]]],
1403
+ ['application/x-fluid', [[0, '# data file for the Fltk']]],
1404
+ ['application/x-font-bdf', [[0, 'STARTFONT ']]],
1405
+ ['application/x-font-dos', [[0, "\377FON"], [7, "\000EGA"], [7, "\000VID"]]],
1406
+ ['application/x-font-framemaker', [[0, '<MakerScreenFont']]],
1407
+ ['application/x-font-libgrx', [[0, "\024\002Y\031"]]],
1408
+ ['application/x-font-linux-psf', [[0, "6\004"]]],
1409
+ ['application/x-font-otf', [[0, 'OTTO']]],
1410
+ ['application/x-font-pcf', [[0, "\001fcp"]]],
1411
+ ['application/x-font-speedo', [[0, "D1.0\r"]]],
1412
+ ['application/x-font-sunos-news', [[0, 'StartFont'], [0, "\023z)"], [8, "\023z+"]]],
1413
+ ['application/x-font-tex', [[0, "\367\203"], [0, "\367Y"], [0, "\367\312"]]],
1414
+ ['application/x-font-tex-tfm', [[2, "\000\021"], [2, "\000\022"]]],
1415
+ ['application/x-font-ttf', [[0, 'FFIL'], [65, 'FFIL'], [0, "\000\001\000\000\000"]]],
1416
+ ['application/x-font-ttx', [[0..256, "<ttFont sfntVersion=\"\\000\\001\\000\\000\" ttLibVersion=\""]]],
1417
+ ['application/x-font-vfont', [[0, 'FONT']]],
1418
+ ['application/x-frame', [[0, '<MakerFile'], [0, '<MIFFile'], [0, '<MakerDictionary'], [0, '<MakerScreenFon'], [0, '<MML'], [0, '<Book'], [0, '<Maker']]],
1419
+ ['application/x-gameboy-rom', [[260, "\316\355ff\314\r\000\v\003s\000\203\000\f\000\r\000\b\021\037\210\211\000\016"]]],
1420
+ ['application/x-gamecube-rom', [[28, "\3023\237="]]],
1421
+ ['application/x-gdbm', [[0, "\023W\232\316"], [0, "\316\232W\023"], [0, 'GDBM']]],
1422
+ ['application/x-gedcom', [[0, '0 HEAD']]],
1423
+ ['application/x-genesis-rom', [[256, 'SEGA'], [640, 'EAGN'], [640, 'EAMG']]],
1424
+ ['application/x-gettext-translation', [[0, "\336\022\004\225"], [0, "\225\004\022\336"]]],
1425
+ ['application/x-glade', [[0..256, '<glade-interface']]],
1426
+ ['application/x-gnumeric', [[0..64, 'gmr:Workbook'], [0..64, 'gnm:Workbook']]],
1427
+ ['application/x-go-sgf', [[0, '(;FF[3]'], [0, '(;FF[4]']]],
1428
+ ['application/x-gtk-builder', [[0..256, '<interface']]],
1429
+ ['application/x-gtktalog', [[4, 'gtktalog ']]],
1430
+ ['application/x-hdf', [[0, "\211HDF\r\n\032\n"], [0, "\016\003\023\001"]]],
1431
+ ['application/x-hwp', [[0, 'HWP Document File']]],
1432
+ ['application/x-ipod-firmware', [[0, 'S T O P']]],
1433
+ ['application/x-it87', [[0, 'IT8.7']]],
1434
+ ['application/x-iwork-keynote-sffkey', [[0, "PK\003\004", [[30, 'index.apxl']]]]],
1435
+ ['application/x-java', [[0, "\312\376\272\276"]]],
1436
+ ['application/x-java-jce-keystore', [[0, "\316\316\316\316"]]],
1437
+ ['application/x-java-jnlp-file', [[0..256, '<jnlp']]],
1438
+ ['application/x-java-keystore', [[0, "\355\376\355\376"]]],
1439
+ ['application/x-kspread-crypt', [[0, "\r\032'\002"]]],
1440
+ ['application/x-ksysv-package', [[4, 'KSysV', [[15, "\001"]]]]],
1441
+ ['application/x-kword-crypt', [[0, "\r\032'\001"]]],
1442
+ ['application/x-lyx', [[0, '#LyX']]],
1443
+ ['application/x-macbinary', [[102, 'mBIN']]],
1444
+ ['application/x-matroska', [[0, "\032E\337\243", [[5..65, "B\202", [[8..75, 'matroska']]]]]]],
1445
+ ['application/x-ms-dos-executable', [[0, 'MZ']]],
1446
+ ['application/x-ms-wim', [[0, "MSWIM\000\000\000"]]],
1447
+ ['application/x-mswinurl', [[1, 'InternetShortcut'], [1, 'DEFAULT', [[11, 'BASEURL=']]]]],
1448
+ ['application/x-n64-rom', [[0, "\2007\022@"], [0, "7\200@\022"], [0, "@\0227\200"]]],
1449
+ ['application/x-nautilus-link', [[0..32, '<nautilus_object nautilus_link']]],
1450
+ ['application/x-navi-animation', [[0, 'RIFF', [[8, 'ACON']]]]],
1451
+ ['application/x-netshow-channel', [[0, '[Address]']]],
1452
+ ['application/x-object', [[0, "\177ELF", [[5, "\001", [[16, "\001\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\001"]]]]]]],
1453
+ ['application/x-ole-storage', [[0, "\320\317\021\340\241\261\032\341"], [0, "\320\317\021\340"]]],
1454
+ ['application/x-oleo', [[31, 'Oleo']]],
1455
+ ['application/x-pef-executable', [[0, 'Joy!']]],
1456
+ ['application/x-perl', [[0, "eval \"exec /usr/local/bin/perl"], [2..16, '/bin/perl'], [2..16, '/bin/env perl'], [0..256, 'use strict'], [0..256, 'use warnings'], [0..256, 'use diagnostics'], [0..256, 'use Test::'], [0..256, 'BEGIN {']]],
1457
+ ['application/x-pocket-word', [[0, "{\\pwi"]]],
1458
+ ['application/x-python-bytecode', [[0, "\231N\r\n"]]],
1459
+ ['application/x-qtiplot', [[0, 'QtiPlot']]],
1460
+ ['application/x-rpm', [[0, "\355\253\356\333"]]],
1461
+ ['application/x-ruby', [[2..16, '/bin/env ruby'], [2..16, '/bin/ruby']]],
1462
+ ['application/x-sami', [[0..256, '<SAMI>']]],
1463
+ ['application/x-saturn-rom', [[0, 'SEGA SEGASATURN'], [16, 'SEGA SEGASATURN']]],
1464
+ ['application/x-sc', [[38, 'Spreadsheet']]],
1465
+ ['application/x-sharedlib', [[0, "\177ELF", [[5, "\001", [[16, "\003\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\003"]]]]], [0, "\203\001"]]],
1466
+ ['application/x-shellscript', [[10, '# This is a shell archive'], [2..16, '/bin/bash'], [2..16, '/bin/nawk'], [2..16, '/bin/zsh'], [2..16, '/bin/sh'], [2..16, '/bin/ksh'], [2..16, '/bin/dash'], [2..16, '/bin/env sh'], [2..16, '/bin/env bash'], [2..16, '/bin/env zsh'], [2..16, '/bin/env ksh']]],
1467
+ ['application/x-shorten', [[0, 'ajkg']]],
1468
+ ['application/x-smaf', [[0, 'MMMD']]],
1469
+ ['application/x-spss-por', [[40, 'ASCII SPSS PORT FILE']]],
1470
+ ['application/x-spss-sav', [[0, '$FL2'], [0, '$FL3']]],
1471
+ ['application/x-sqlite2', [[0, '** This file contains an SQLite']]],
1472
+ ['application/x-sqlite3', [[0, 'SQLite format 3']]],
1473
+ ['application/x-subrip', [[0, '1', [[0..256, ' --> ']]]]],
1474
+ ['application/x-t602', [[0, '@CT 0'], [0, '@CT 1'], [0, '@CT 2']]],
1475
+ ['application/x-tgif', [[0, '%TGIF']]],
1476
+ ['application/x-wii-rom', [[24, "]\034\236\243"], [0, 'WBFS'], [0, "WII\001DISC"]]],
1477
+ ['application/x-wii-wad', [[4, "Is\000\000"], [4, "ib\000\000"], [4, "Bk\000\000"]]],
1478
+ ['application/x-xbel', [[0..256, '<!DOCTYPE xbel']]],
1479
+ ['application/x-yaml', [[0, '%YAML']]],
1480
+ ['application/xslt+xml', [[0..256, '<xsl:stylesheet']]],
1481
+ ['application/xspf+xml', [[0..64, "<playlist version=\"1"], [0..64, "<playlist version='1"]]],
1482
+ ['image/dpx', [[0, 'SDPX']]],
1483
+ ['image/fits', [[0, 'SIMPLE =']]],
1484
+ ['image/jp2', [[0, "\377O\377Q\000"], [3, "\fjP "], [20, 'jp2']]],
1485
+ ['image/openraster', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'image/openraster']]]]]]],
1486
+ ['image/vnd.djvu', [[0, 'AT&TFORM', [[12, 'DJVU']]], [0, 'FORM', [[8, 'DJVU']]]]],
1487
+ ['image/vnd.djvu+multipage', [[0, 'AT&TFORM', [[12, 'DJVM']]], [0, 'FORM', [[8, 'DJVM']]]]],
1488
+ ['image/vnd.dxf', [[0..64, "\nHEADER\n"], [0..64, "\r\nHEADER\r\n"]]],
1489
+ ['image/vnd.microsoft.icon', [[0, "\000\000\001\000", [[5, "\000"]]]]],
1490
+ ['image/vnd.ms-modi', [[0, "EP*\000"]]],
1491
+ ['image/vnd.zbrush.pcx', [[0, "\n", [[1, "\000"], [1, "\002"], [1, "\003"], [1, "\005"]]]]],
1492
+ ['image/x-applix-graphics', [[0, '*BEGIN', [[7, 'GRAPHICS']]]]],
1493
+ ['image/x-canon-crw', [[0, "II\032\000\000\000HEAPCCDR"]]],
1494
+ ['image/x-dds', [[0, 'DDS']]],
1495
+ ['image/x-dib', [[0, "(\000\000\000"]]],
1496
+ ['image/x-emf', [[0, "\001\000\000\000", [[40, ' EMF', [[44, "\000\000\001\000", [[58, "\000\000"]]]]]]]]],
1497
+ ['image/x-exr', [[0, "v/1\001"]]],
1498
+ ['image/x-fpx', [[0, 'FPix']]],
1499
+ ['image/x-fuji-raf', [[0, 'FUJIFILMCCD-RAW ']]],
1500
+ ['image/x-icns', [[0, 'icns']]],
1501
+ ['image/x-ilbm', [[8, 'ILBM'], [8, 'PBM ']]],
1502
+ ['image/x-minolta-mrw', [[0, "\000MRM"]]],
1503
+ ['image/x-olympus-orf', [[0, "IIRO\b\000\000\000"]]],
1504
+ ['image/x-panasonic-raw', [[0, "IIU\000\b\000\000\000"]]],
1505
+ ['image/x-panasonic-raw2', [[0, "IIU\000\030\000\000\000"]]],
1506
+ ['image/x-pict', [[522, "\000\021", [[524, "\002\377", [[526, "\f\000", [[528, "\377\376"]]]]]]]]],
1507
+ ['image/x-pict', [[10, "\000\021", [[12, "\002\377", [[14, "\f\000", [[16, "\377\376"]]]]]]]]],
1508
+ ['image/x-portable-bitmap', [[0, 'P1', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]], [0, 'P4', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]]]],
1509
+ ['image/x-portable-graymap', [[0, 'P2', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]], [0, 'P5', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]]]],
1510
+ ['image/x-portable-pixmap', [[0, 'P3', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]], [0, 'P6', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]]]],
1511
+ ['image/x-quicktime', [[4, 'idat']]],
1512
+ ['image/x-sigma-x3f', [[0, 'FOVb']]],
1513
+ ['image/x-skencil', [[0, '##Sketch']]],
1514
+ ['image/x-sun-raster', [[0, "Y\246j\225"]]],
1515
+ ['image/x-tga', [[1, "\000\002", [[16, "\b"], [16, "\020"], [16, "\030"], [16, ' ']]]]],
1516
+ ['image/x-win-bitmap', [[0, "\000\000\002\000", [[5, "\000"]]]]],
1517
+ ['image/x-wmf', [[0, "\327\315\306\232", [[22, "\001\000", [[24, "\t\000"]]]]], [0, "\001\000", [[2, "\t\000"]]]]],
1518
+ ['image/x-xcf', [[0, 'gimp xcf file'], [0, 'gimp xcf v']]],
1519
+ ['image/x-xcursor', [[0, 'Xcur']]],
1520
+ ['image/x-xfig', [[0, '#FIG']]],
1521
+ ['image/x-xpixmap', [[0, '/* XPM']]],
1522
+ ['message/news', [[0, 'Article'], [0, 'Path:'], [0, 'Xref:']]],
1523
+ ['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: ']]],
1524
+ ['text/cache-manifest', [[0, 'CACHE MANIFEST', [[14, ' '], [14, "\t"], [14, "\n"], [14, "\r"]]]]],
1525
+ ['text/calendar', [[0, 'BEGIN:VCALENDAR'], [0, 'begin:vcalendar']]],
1526
+ ['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']]],
1527
+ ['text/plain', [[0, 'This is TeX,'], [0, 'This is METAFONT,']]],
1528
+ ['text/spreadsheet', [[0, 'ID;']]],
1529
+ ['text/troff', [[0, ".\\\""], [0, "'\\\""], [0, "'.\\\""], [0, "\\\""]]],
1530
+ ['text/vcard', [[0, 'BEGIN:VCARD'], [0, 'begin:vcard']]],
1531
+ ['text/vnd.graphviz', [[0, 'digraph '], [0, 'strict digraph '], [0, 'graph '], [0, 'strict graph ']]],
1532
+ ['text/vnd.sun.j2me.app-descriptor', [[0, 'MIDlet-']]],
1533
+ ['text/vnd.trolltech.linguist', [[0..256, '<TS']]],
1534
+ ['text/vtt', [[0, 'WEBVTT']]],
1535
+ ['text/x-bibtex', [[0, '% This file was created with JabRef']]],
1536
+ ['text/x-emacs-lisp', [[0, "\n("], [0, ";ELC\023\000\000\000"]]],
1537
+ ['text/x-gettext-translation-template', [[0..256, "#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version:"]]],
1538
+ ['text/x-iMelody', [[0, 'BEGIN:IMELODY']]],
1539
+ ['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']]]]]]],
1540
+ ['text/x-ldif', [[0, 'dn: cn='], [0, 'dn: mail=']]],
1541
+ ['text/x-lua', [[2..16, '/bin/lua'], [2..16, '/bin/luajit'], [2..16, '/bin/env lua'], [2..16, '/bin/env luajit']]],
1542
+ ['text/x-makefile', [[0, '#!/usr/bin/make'], [0, '#! /usr/bin/make']]],
1543
+ ['text/x-matlab', [[0, 'function']]],
1544
+ ['text/x-microdvd', [[0, '{1}'], [0, '{0}'], [0..6, '}{']]],
1545
+ ['text/x-modelica', [[0, 'class']]],
1546
+ ['text/x-modelica', [[0, 'record']]],
1547
+ ['text/x-modelica', [[0, 'model']]],
1548
+ ['text/x-modelica', [[0, 'function']]],
1549
+ ['text/x-mpsub', [[0..256, 'FORMAT=']]],
1550
+ ['text/x-mrml', [[0, '<mrml ']]],
1551
+ ['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"]]],
1552
+ ['text/x-mup', [[0, '//!Mup']]],
1553
+ ['text/x-patch', [[0, "diff\t"], [0, 'diff '], [0, "***\t"], [0, '*** '], [0, '=== '], [0, '--- '], [0, "Only in\t"], [0, 'Only in '], [0, 'Common subdirectories: '], [0, 'Index:']]],
1554
+ ['text/x-python', [[0, '#!/bin/python'], [0, '#! /bin/python'], [0, "eval \"exec /bin/python"], [0, '#!/usr/bin/python'], [0, '#! /usr/bin/python'], [0, "eval \"exec /usr/bin/python"], [0, '#!/usr/local/bin/python'], [0, '#! /usr/local/bin/python'], [0, "eval \"exec /usr/local/bin/python"], [2..16, '/bin/env python']]],
1555
+ ['text/x-rpm-spec', [[0, 'Summary: '], [0, '%define ']]],
1556
+ ['text/x-ssa', [[0..256, '[Script Info]'], [0..256, 'Dialogue: ']]],
1557
+ ['text/x-subviewer', [[0, '[INFORMATION]']]],
1558
+ ['text/x-tex', [[1, 'documentclass']]],
1559
+ ['text/x-uuencode', [[0, 'begin ']]],
1560
+ ['text/xmcd', [[0, '# xmcd']]],
1561
+ ['x-epoc/x-sisx-app', [[0, "z\032 \020"]]],
1562
+ ['application/x-archive', [[0, '<ar>'], [0, '!<arch>']]],
1563
+ ['application/x-riff', [[0, 'RIFF']]],
1564
+ ['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"]]],
1565
+ ['application/x-iff', [[0, 'FORM']]],
1566
+ ['application/x-perl', [[0..256, "\n=pod"], [0..256, "\n=head1 NAME"], [0..256, "\n=head1 DESCRIPTION"]]],
1567
+ ['application/xml', [[0, '<?xml'], [0, '<!--']]],
1568
+ ['application/zip', [[0, "PK\003\004"]]],
1569
+ ['application/x-mobipocket-ebook', [[60, 'TEXtREAd']]],
1570
+ ['text/x-csrc', [[0, '/*'], [0, '//'], [0, '#include']]],
1571
+ ['text/x-objcsrc', [[0, '#import']]],
1572
+ ['application/mbox', [[0, 'From ']]],
1573
+ ['image/x-tga', [[1, "\001\001"], [1, "\0019"], [1, "\000\003"], [1, "\000\n"], [1, "\000\v"]]],
1574
+ ['text/x-matlab', [[0, '%']]],
1575
+ ['text/x-matlab', [[0, '##']]],
1576
+ ['text/x-modelica', [[0, '//']]],
1577
+ ['text/x-tex', [[0, '%']]],
1578
+ ]
1579
+ end
1580
+