mimemagic 0.3.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mimemagic might be problematic. Click here for more details.

checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3341d0e47533ae7580ac1f2d4495b2ac590c6566
4
+ data.tar.gz: 12d8382aa23ff7bfe83a8b7e79957f31d352c7ec
5
+ SHA512:
6
+ metadata.gz: 5990e9928c652a6919dea6d4400895c3230b7d257d78e5b52149af64854d35bed88b48d414e5376e59e78f329029f817fb10ce9271b5a95ffdf330fe0d3a3eeb
7
+ data.tar.gz: 04b1ac30fa1589bbcdef7771e66051a2f10d4151e42908c2297434cbdaacefbc8b82cd11d6688771f0b8ad88069a1b4b15e11b43275b7640de5d45f034f67759
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.swp
2
+ *.gem
3
+ Gemfile.lock
4
+ .bundle
5
+ .yardoc
data/.travis.yml ADDED
@@ -0,0 +1,15 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - 2.1.0
6
+ - 2.2.0
7
+ - 2.3.0
8
+ - ruby-head
9
+ - jruby-19mode
10
+ - rbx
11
+ before_install:
12
+ - gem install bundler # the default bundler version on travis is very old and causes 1.9.3 build issues
13
+ matrix:
14
+ allow_failures:
15
+ - rvm: ruby-head
data/.yardopts ADDED
@@ -0,0 +1,2 @@
1
+ --no-private
2
+ - README.md
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org/'
2
+ gemspec
3
+
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2011 Daniel Mendler
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+ MimeMagic is a library to detect the mime type of a file by extension or by content. It uses the mime database
2
+ provided by freedesktop.org (see http://freedesktop.org/wiki/Software/shared-mime-info/).
3
+
4
+ [![Build Status](https://secure.travis-ci.org/minad/mimemagic.png?branch=master)](http://travis-ci.org/minad/mimemagic) [![Code Climate](https://codeclimate.com/github/minad/mimemagic.png)](https://codeclimate.com/github/minad/mimemagic)
5
+ [![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/min4d/ "Donate weekly to this project using Gittip")
6
+ [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=min4d&url=https://github.com/minad/mimemagic&title=MimeMagic&language=&tags=github&category=software)
7
+
8
+ Usage
9
+ =====
10
+
11
+ require 'mimemagic'
12
+ MimeMagic.by_extension('html').text?
13
+ MimeMagic.by_extension('.html').child_of? 'text/plain'
14
+ MimeMagic.by_path('filename.txt')
15
+ MimeMagic.by_magic(File.open('test.html'))
16
+ # etc...
17
+
18
+ Extra magic overlay
19
+ =====
20
+
21
+ Microsoft Office 2007+ formats (xlsx, docx, and pptx) are not supported by the mime database at freedesktop.org. These files are all zipped collections of xml files and will be detected as "application/zip". Mimemagic comes with extra magic you can overlay on top of the defaults to correctly detect these file types. Enable it like this:
22
+
23
+ require 'mimemagic'
24
+ require 'mimemagic/overlay'
25
+ MimeMagic.by_magic(File.open('test.xlsx'))
26
+
27
+ You can add your own magic with `MimeMagic.add`. See `lib/mimemagic/overlay.rb`.
28
+
29
+ API
30
+ ===
31
+
32
+ http://rdoc.info/github/minad/mimemagic/frames/file/README.md
33
+
34
+ Tests
35
+ =====
36
+
37
+ ```
38
+ bundle install
39
+
40
+ rake test
41
+ ```
42
+
43
+ Authors
44
+ =======
45
+
46
+ Daniel Mendler
data/Rakefile ADDED
@@ -0,0 +1,13 @@
1
+ task :default => %w(test)
2
+
3
+ desc 'Run tests with bacon'
4
+ task :test => FileList['test/*_test.rb'] do |t|
5
+ sh "bacon -q -Ilib:test #{t.prerequisites.join(' ')}"
6
+ end
7
+
8
+ desc 'Generate mime tables'
9
+ task :tables => 'lib/mimemagic/tables.rb'
10
+ file 'lib/mimemagic/tables.rb' => FileList['script/freedesktop.org.xml'] do |f|
11
+ sh "script/generate-mime.rb #{f.prerequisites.join(' ')} > #{f.name}"
12
+ end
13
+
data/lib/mimemagic.rb ADDED
@@ -0,0 +1,138 @@
1
+ require 'mimemagic/tables'
2
+ require 'mimemagic/version'
3
+
4
+ require 'stringio'
5
+
6
+ # Mime type detection
7
+ class MimeMagic
8
+ attr_reader :type, :mediatype, :subtype
9
+
10
+ # Mime type by type string
11
+ def initialize(type)
12
+ @type = type
13
+ @mediatype, @subtype = type.split('/', 2)
14
+ end
15
+
16
+ # Add custom mime type. Arguments:
17
+ # * <i>type</i>: Mime type
18
+ # * <i>options</i>: Options hash
19
+ #
20
+ # Option keys:
21
+ # * <i>:extensions</i>: String list or single string of file extensions
22
+ # * <i>:parents</i>: String list or single string of parent mime types
23
+ # * <i>:magic</i>: Mime magic specification
24
+ # * <i>:comment</i>: Comment string
25
+ def self.add(type, options)
26
+ extensions = [options[:extensions]].flatten.compact
27
+ TYPES[type] = [extensions,
28
+ [options[:parents]].flatten.compact,
29
+ options[:comment]]
30
+ extensions.each {|ext| EXTENSIONS[ext] = type }
31
+ MAGIC.unshift [type, options[:magic]] if options[:magic]
32
+ end
33
+
34
+ # Removes a mime type from the dictionary. You might want to do this if
35
+ # you're seeing impossible conflicts (for instance, application/x-gmc-link).
36
+ # * <i>type</i>: The mime type to remove. All associated extensions and magic are removed too.
37
+ def self.remove(type)
38
+ EXTENSIONS.delete_if {|ext, t| t == type }
39
+ MAGIC.delete_if {|t, m| t == type }
40
+ TYPES.delete(type)
41
+ end
42
+
43
+ # Returns true if type is a text format
44
+ def text?; mediatype == 'text' || child_of?('text/plain'); end
45
+
46
+ # Mediatype shortcuts
47
+ def image?; mediatype == 'image'; end
48
+ def audio?; mediatype == 'audio'; end
49
+ def video?; mediatype == 'video'; end
50
+
51
+ # Returns true if type is child of parent type
52
+ def child_of?(parent)
53
+ MimeMagic.child?(type, parent)
54
+ end
55
+
56
+ # Get string list of file extensions
57
+ def extensions
58
+ TYPES.key?(type) ? TYPES[type][0] : []
59
+ end
60
+
61
+ # Get mime comment
62
+ def comment
63
+ (TYPES.key?(type) ? TYPES[type][2] : nil).to_s
64
+ end
65
+
66
+ # Lookup mime type by file extension
67
+ def self.by_extension(ext)
68
+ ext = ext.to_s.downcase
69
+ mime = ext[0..0] == '.' ? EXTENSIONS[ext[1..-1]] : EXTENSIONS[ext]
70
+ mime && new(mime)
71
+ end
72
+
73
+ # Lookup mime type by filename
74
+ def self.by_path(path)
75
+ by_extension(File.extname(path))
76
+ end
77
+
78
+ # Lookup mime type by magic content analysis.
79
+ # This is a slow operation.
80
+ def self.by_magic(io)
81
+ mime = magic_match(io, :find)
82
+ mime && new(mime[0])
83
+ end
84
+
85
+ # Lookup all mime types by magic content analysis.
86
+ # This is a slower operation.
87
+ def self.all_by_magic(io)
88
+ magic_match(io, :select).map { |mime| new(mime[0]) }
89
+ end
90
+
91
+ # Return type as string
92
+ def to_s
93
+ type
94
+ end
95
+
96
+ # Allow comparison with string
97
+ def eql?(other)
98
+ type == other.to_s
99
+ end
100
+
101
+ def hash
102
+ type.hash
103
+ end
104
+
105
+ alias == eql?
106
+
107
+ def self.child?(child, parent)
108
+ child == parent || TYPES.key?(child) && TYPES[child][1].any? {|p| child?(p, parent) }
109
+ end
110
+
111
+ def self.magic_match(io, method)
112
+ return magic_match(StringIO.new(io.to_s), method) unless io.respond_to?(:read)
113
+
114
+ io.binmode if io.respond_to?(:binmode)
115
+ io.set_encoding(Encoding::BINARY) if io.respond_to?(:set_encoding)
116
+ buffer = "".force_encoding(Encoding::BINARY)
117
+
118
+ MAGIC.send(method) { |type, matches| magic_match_io(io, matches, buffer) }
119
+ end
120
+
121
+ def self.magic_match_io(io, matches, buffer)
122
+ matches.any? do |offset, value, children|
123
+ match =
124
+ if Range === offset
125
+ io.read(offset.begin, buffer)
126
+ x = io.read(offset.end - offset.begin + value.bytesize, buffer)
127
+ x && x.include?(value)
128
+ else
129
+ io.read(offset, buffer)
130
+ io.read(value.bytesize, buffer) == value
131
+ end
132
+ io.rewind
133
+ match && (!children || magic_match_io(io, children, buffer))
134
+ end
135
+ end
136
+
137
+ private_class_method :magic_match, :magic_match_io
138
+ end
@@ -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,1891 @@
1
+ # -*- coding: binary -*-
2
+ # Generated from script/freedesktop.org.xml
3
+ class MimeMagic
4
+ # @private
5
+ # :nodoc:
6
+ EXTENSIONS = {
7
+ '123' => 'application/vnd.lotus-1-2-3',
8
+ '32x' => 'application/x-genesis-rom',
9
+ '3ds' => 'image/x-3ds',
10
+ '3g2' => 'video/3gpp2',
11
+ '3ga' => 'video/3gpp',
12
+ '3gp' => 'video/3gpp',
13
+ '3gp2' => 'video/3gpp2',
14
+ '3gpp' => 'video/3gpp',
15
+ '3gpp2' => 'video/3gpp2',
16
+ '602' => 'application/x-t602',
17
+ '669' => 'audio/x-mod',
18
+ '7z' => 'application/x-7z-compressed',
19
+ 'a' => 'application/x-archive',
20
+ 'aac' => 'audio/aac',
21
+ 'abw' => 'application/x-abiword',
22
+ 'abw.crashed' => 'application/x-abiword',
23
+ 'abw.gz' => 'application/x-abiword',
24
+ 'ac3' => 'audio/ac3',
25
+ 'ace' => 'application/x-ace',
26
+ 'adb' => 'text/x-adasrc',
27
+ 'adf' => 'application/x-amiga-disk-format',
28
+ 'ads' => 'text/x-adasrc',
29
+ 'afm' => 'application/x-font-afm',
30
+ 'ag' => 'image/x-applix-graphics',
31
+ 'agb' => 'application/x-gba-rom',
32
+ 'ai' => 'application/illustrator',
33
+ 'aif' => 'audio/x-aiff',
34
+ 'aifc' => 'audio/x-aifc',
35
+ 'aiff' => 'audio/x-aiff',
36
+ 'aiffc' => 'audio/x-aifc',
37
+ 'al' => 'application/x-perl',
38
+ 'alz' => 'application/x-alz',
39
+ 'amr' => 'audio/AMR',
40
+ 'amz' => 'audio/x-amzxml',
41
+ 'ani' => 'application/x-navi-animation',
42
+ 'anx' => 'application/annodex',
43
+ 'ape' => 'audio/x-ape',
44
+ 'apk' => 'application/vnd.android.package-archive',
45
+ 'ar' => 'application/x-archive',
46
+ 'arj' => 'application/x-arj',
47
+ 'arw' => 'image/x-sony-arw',
48
+ 'as' => 'application/x-applix-spreadsheet',
49
+ 'asc' => 'application/pgp-encrypted',
50
+ 'asf' => 'application/vnd.ms-asf',
51
+ 'asp' => 'application/x-asp',
52
+ 'ass' => 'text/x-ssa',
53
+ 'asx' => 'audio/x-ms-asx',
54
+ 'atom' => 'application/atom+xml',
55
+ 'au' => 'audio/basic',
56
+ 'avf' => 'video/x-msvideo',
57
+ 'avi' => 'video/x-msvideo',
58
+ 'aw' => 'application/x-applix-word',
59
+ 'awb' => 'audio/AMR-WB',
60
+ 'awk' => 'application/x-awk',
61
+ 'axa' => 'audio/annodex',
62
+ 'axv' => 'video/annodex',
63
+ 'bak' => 'application/x-trash',
64
+ 'bcpio' => 'application/x-bcpio',
65
+ 'bdf' => 'application/x-font-bdf',
66
+ 'bdm' => 'video/mp2t',
67
+ 'bdmv' => 'video/mp2t',
68
+ 'bib' => 'text/x-bibtex',
69
+ 'bin' => 'application/octet-stream',
70
+ 'blend' => 'application/x-blender',
71
+ 'blender' => 'application/x-blender',
72
+ 'bmp' => 'image/bmp',
73
+ 'bz' => 'application/x-bzip',
74
+ 'bz2' => 'application/x-bzip',
75
+ 'c' => 'text/x-c++src',
76
+ 'c++' => 'text/x-c++src',
77
+ 'cab' => 'application/vnd.ms-cab-compressed',
78
+ 'cap' => 'application/vnd.tcpdump.pcap',
79
+ 'cb7' => 'application/x-cb7',
80
+ 'cbl' => 'text/x-cobol',
81
+ 'cbr' => 'application/x-cbr',
82
+ 'cbt' => 'application/x-cbt',
83
+ 'cbz' => 'application/x-cbz',
84
+ 'cc' => 'text/x-c++src',
85
+ 'ccmx' => 'application/x-ccmx',
86
+ 'cdf' => 'application/x-netcdf',
87
+ 'cdr' => 'application/vnd.corel-draw',
88
+ 'cer' => 'application/pkix-cert',
89
+ 'cert' => 'application/x-x509-ca-cert',
90
+ 'cgb' => 'application/x-gameboy-rom',
91
+ 'cgm' => 'image/cgm',
92
+ 'chm' => 'application/vnd.ms-htmlhelp',
93
+ 'chrt' => 'application/x-kchart',
94
+ 'class' => 'application/x-java',
95
+ 'clpi' => 'video/mp2t',
96
+ 'cls' => 'text/x-tex',
97
+ 'cmake' => 'text/x-cmake',
98
+ 'cob' => 'text/x-cobol',
99
+ 'coffee' => 'application/vnd.coffeescript',
100
+ 'cpi' => 'video/mp2t',
101
+ 'cpio' => 'application/x-cpio',
102
+ 'cpio.gz' => 'application/x-cpio-compressed',
103
+ 'cpp' => 'text/x-c++src',
104
+ 'cr2' => 'image/x-canon-cr2',
105
+ 'crdownload' => 'application/x-partial-download',
106
+ 'crl' => 'application/pkix-crl',
107
+ 'crt' => 'application/x-x509-ca-cert',
108
+ 'crw' => 'image/x-canon-crw',
109
+ 'cs' => 'text/x-csharp',
110
+ 'csh' => 'application/x-csh',
111
+ 'css' => 'text/css',
112
+ 'csv' => 'text/csv',
113
+ 'csvs' => 'text/csv-schema',
114
+ 'cue' => 'application/x-cue',
115
+ 'cur' => 'image/x-win-bitmap',
116
+ 'cxx' => 'text/x-c++src',
117
+ 'd' => 'text/x-dsrc',
118
+ 'dar' => 'application/x-dar',
119
+ 'dbf' => 'application/x-dbf',
120
+ 'dbk' => 'application/x-docbook+xml',
121
+ 'dc' => 'application/x-dc-rom',
122
+ 'dcl' => 'text/x-dcl',
123
+ 'dcm' => 'application/dicom',
124
+ 'dcr' => 'image/x-kodak-dcr',
125
+ 'dds' => 'image/x-dds',
126
+ 'deb' => 'application/vnd.debian.binary-package',
127
+ 'der' => 'application/x-x509-ca-cert',
128
+ 'desktop' => 'application/x-desktop',
129
+ 'di' => 'text/x-dsrc',
130
+ 'dia' => 'application/x-dia-diagram',
131
+ 'diff' => 'text/x-patch',
132
+ 'divx' => 'video/x-msvideo',
133
+ 'djv' => 'image/vnd.djvu',
134
+ 'djvu' => 'image/vnd.djvu',
135
+ 'dmg' => 'application/x-apple-diskimage',
136
+ 'dmp' => 'application/vnd.tcpdump.pcap',
137
+ 'dng' => 'image/x-adobe-dng',
138
+ 'doc' => 'application/msword',
139
+ 'docbook' => 'application/x-docbook+xml',
140
+ 'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
141
+ 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
142
+ 'dot' => 'application/msword-template',
143
+ 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
144
+ 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
145
+ 'dsl' => 'text/x-dsl',
146
+ 'dtd' => 'application/xml-dtd',
147
+ 'dts' => 'audio/vnd.dts',
148
+ 'dtshd' => 'audio/vnd.dts.hd',
149
+ 'dtx' => 'text/x-tex',
150
+ 'dv' => 'video/dv',
151
+ 'dvi' => 'application/x-dvi',
152
+ 'dvi.bz2' => 'application/x-bzdvi',
153
+ 'dvi.gz' => 'application/x-gzdvi',
154
+ 'dwg' => 'image/vnd.dwg',
155
+ 'dxf' => 'image/vnd.dxf',
156
+ 'e' => 'text/x-eiffel',
157
+ 'egon' => 'application/x-egon',
158
+ 'eif' => 'text/x-eiffel',
159
+ 'el' => 'text/x-emacs-lisp',
160
+ 'emf' => 'image/x-emf',
161
+ 'eml' => 'message/rfc822',
162
+ 'emp' => 'application/vnd.emusic-emusic_package',
163
+ 'ent' => 'application/xml-external-parsed-entity',
164
+ 'eps' => 'image/x-eps',
165
+ 'eps.bz2' => 'image/x-bzeps',
166
+ 'eps.gz' => 'image/x-gzeps',
167
+ 'epsf' => 'image/x-eps',
168
+ 'epsf.bz2' => 'image/x-bzeps',
169
+ 'epsf.gz' => 'image/x-gzeps',
170
+ 'epsi' => 'image/x-eps',
171
+ 'epsi.bz2' => 'image/x-bzeps',
172
+ 'epsi.gz' => 'image/x-gzeps',
173
+ 'epub' => 'application/epub+zip',
174
+ 'erl' => 'text/x-erlang',
175
+ 'es' => 'application/ecmascript',
176
+ 'etheme' => 'application/x-e-theme',
177
+ 'etx' => 'text/x-setext',
178
+ 'exe' => 'application/x-ms-dos-executable',
179
+ 'exr' => 'image/x-exr',
180
+ 'ez' => 'application/andrew-inset',
181
+ 'f' => 'text/x-fortran',
182
+ 'f4a' => 'audio/mp4',
183
+ 'f4b' => 'audio/x-m4b',
184
+ 'f4v' => 'video/mp4',
185
+ 'f90' => 'text/x-fortran',
186
+ 'f95' => 'text/x-fortran',
187
+ 'fb2' => 'application/x-fictionbook+xml',
188
+ 'fb2.zip' => 'application/x-zip-compressed-fb2',
189
+ 'fig' => 'image/x-xfig',
190
+ 'fits' => 'image/fits',
191
+ 'fl' => 'application/x-fluid',
192
+ 'flac' => 'audio/flac',
193
+ 'flc' => 'video/x-flic',
194
+ 'fli' => 'video/x-flic',
195
+ 'flv' => 'video/x-flv',
196
+ 'flw' => 'application/x-kivio',
197
+ 'fo' => 'text/x-xslfo',
198
+ 'fodg' => 'application/vnd.oasis.opendocument.graphics-flat-xml',
199
+ 'fodp' => 'application/vnd.oasis.opendocument.presentation-flat-xml',
200
+ 'fods' => 'application/vnd.oasis.opendocument.spreadsheet-flat-xml',
201
+ 'fodt' => 'application/vnd.oasis.opendocument.text-flat-xml',
202
+ 'for' => 'text/x-fortran',
203
+ 'fxm' => 'video/x-javafx',
204
+ 'g3' => 'image/fax-g3',
205
+ 'gb' => 'application/x-gameboy-rom',
206
+ 'gba' => 'application/x-gba-rom',
207
+ 'gbc' => 'application/x-gameboy-rom',
208
+ 'gcrd' => 'text/vcard',
209
+ 'ged' => 'application/x-gedcom',
210
+ 'gedcom' => 'application/x-gedcom',
211
+ 'gem' => 'application/x-tar',
212
+ 'gen' => 'application/x-genesis-rom',
213
+ 'geo.json' => 'application/vnd.geo+json',
214
+ 'geojson' => 'application/vnd.geo+json',
215
+ 'gf' => 'application/x-tex-gf',
216
+ 'gg' => 'application/x-sms-rom',
217
+ 'gif' => 'image/gif',
218
+ 'glade' => 'application/x-glade',
219
+ 'gml' => 'application/gml+xml',
220
+ 'gmo' => 'application/x-gettext-translation',
221
+ 'gnc' => 'application/x-gnucash',
222
+ 'gnd' => 'application/gnunet-directory',
223
+ 'gnucash' => 'application/x-gnucash',
224
+ 'gnumeric' => 'application/x-gnumeric',
225
+ 'gnuplot' => 'application/x-gnuplot',
226
+ 'go' => 'text/x-go',
227
+ 'gp' => 'application/x-gnuplot',
228
+ 'gpg' => 'application/pgp-encrypted',
229
+ 'gplt' => 'application/x-gnuplot',
230
+ 'gpx' => 'application/gpx+xml',
231
+ 'gra' => 'application/x-graphite',
232
+ 'gs' => 'text/x-genie',
233
+ 'gsf' => 'application/x-font-type1',
234
+ 'gsm' => 'audio/x-gsm',
235
+ 'gtar' => 'application/x-tar',
236
+ 'gv' => 'text/vnd.graphviz',
237
+ 'gvp' => 'text/x-google-video-pointer',
238
+ 'gz' => 'application/gzip',
239
+ 'h' => 'text/x-chdr',
240
+ 'h++' => 'text/x-c++hdr',
241
+ 'h4' => 'application/x-hdf',
242
+ 'h5' => 'application/x-hdf',
243
+ 'hdf' => 'application/x-hdf',
244
+ 'hdf4' => 'application/x-hdf',
245
+ 'hdf5' => 'application/x-hdf',
246
+ 'hh' => 'text/x-c++hdr',
247
+ 'hlp' => 'application/winhlp',
248
+ 'hp' => 'text/x-c++hdr',
249
+ 'hpgl' => 'application/vnd.hp-hpgl',
250
+ 'hpp' => 'text/x-c++hdr',
251
+ 'hs' => 'text/x-haskell',
252
+ 'htm' => 'text/html',
253
+ 'html' => 'text/html',
254
+ 'hwp' => 'application/x-hwp',
255
+ 'hwt' => 'application/x-hwt',
256
+ 'hxx' => 'text/x-c++hdr',
257
+ 'ica' => 'application/x-ica',
258
+ 'icb' => 'image/x-tga',
259
+ 'icc' => 'application/vnd.iccprofile',
260
+ 'icm' => 'application/vnd.iccprofile',
261
+ 'icns' => 'image/x-icns',
262
+ 'ico' => 'image/vnd.microsoft.icon',
263
+ 'ics' => 'text/calendar',
264
+ 'idl' => 'text/x-idl',
265
+ 'ief' => 'image/ief',
266
+ 'iff' => 'image/x-ilbm',
267
+ 'ilbm' => 'image/x-ilbm',
268
+ 'ime' => 'text/x-iMelody',
269
+ 'img' => 'application/x-raw-disk-image',
270
+ 'img.xz' => 'application/x-raw-disk-image-xz-compressed',
271
+ 'imy' => 'text/x-iMelody',
272
+ 'ins' => 'text/x-tex',
273
+ 'iptables' => 'text/x-iptables',
274
+ 'iso' => 'application/x-cd-image',
275
+ 'iso9660' => 'application/x-cd-image',
276
+ 'it' => 'audio/x-it',
277
+ 'it87' => 'application/x-it87',
278
+ 'jad' => 'text/vnd.sun.j2me.app-descriptor',
279
+ 'jar' => 'application/x-java-archive',
280
+ 'java' => 'text/x-java',
281
+ 'jceks' => 'application/x-java-jce-keystore',
282
+ 'jks' => 'application/x-java-keystore',
283
+ 'jng' => 'image/x-jng',
284
+ 'jnlp' => 'application/x-java-jnlp-file',
285
+ 'jp2' => 'image/jp2',
286
+ 'jpe' => 'image/jpeg',
287
+ 'jpeg' => 'image/jpeg',
288
+ 'jpf' => 'image/jp2',
289
+ 'jpg' => 'image/jpeg',
290
+ 'jpr' => 'application/x-jbuilder-project',
291
+ 'jpx' => 'application/x-jbuilder-project',
292
+ 'jrd' => 'application/jrd+json',
293
+ 'js' => 'application/javascript',
294
+ 'jsm' => 'application/javascript',
295
+ 'json' => 'application/json',
296
+ 'json-patch' => 'application/json-patch+json',
297
+ 'jsonld' => 'application/ld+json',
298
+ 'k25' => 'image/x-kodak-k25',
299
+ 'kar' => 'audio/midi',
300
+ 'karbon' => 'application/x-karbon',
301
+ 'kdc' => 'image/x-kodak-kdc',
302
+ 'kdelnk' => 'application/x-desktop',
303
+ 'kexi' => 'application/x-kexiproject-sqlite2',
304
+ 'kexic' => 'application/x-kexi-connectiondata',
305
+ 'kexis' => 'application/x-kexiproject-shortcut',
306
+ 'key' => 'application/x-iwork-keynote-sffkey',
307
+ 'kfo' => 'application/x-kformula',
308
+ 'kil' => 'application/x-killustrator',
309
+ 'kino' => 'application/smil+xml',
310
+ 'kml' => 'application/vnd.google-earth.kml+xml',
311
+ 'kmz' => 'application/vnd.google-earth.kmz',
312
+ 'kon' => 'application/x-kontour',
313
+ 'kpm' => 'application/x-kpovmodeler',
314
+ 'kpr' => 'application/x-kpresenter',
315
+ 'kpt' => 'application/x-kpresenter',
316
+ 'kra' => 'application/x-krita',
317
+ 'ks' => 'application/x-java-keystore',
318
+ 'ksp' => 'application/x-kspread',
319
+ 'kud' => 'application/x-kugar',
320
+ 'kwd' => 'application/x-kword',
321
+ 'kwt' => 'application/x-kword',
322
+ 'la' => 'application/x-shared-library-la',
323
+ 'latex' => 'text/x-tex',
324
+ 'lbm' => 'image/x-ilbm',
325
+ 'ldif' => 'text/x-ldif',
326
+ 'lha' => 'application/x-lha',
327
+ 'lhs' => 'text/x-literate-haskell',
328
+ 'lhz' => 'application/x-lhz',
329
+ 'log' => 'text/x-log',
330
+ 'lrv' => 'video/mp4',
331
+ 'lrz' => 'application/x-lrzip',
332
+ 'ltx' => 'text/x-tex',
333
+ 'lua' => 'text/x-lua',
334
+ 'lwo' => 'image/x-lwo',
335
+ 'lwob' => 'image/x-lwo',
336
+ 'lwp' => 'application/vnd.lotus-wordpro',
337
+ 'lws' => 'image/x-lws',
338
+ 'ly' => 'text/x-lilypond',
339
+ 'lyx' => 'application/x-lyx',
340
+ 'lz' => 'application/x-lzip',
341
+ 'lz4' => 'application/x-lz4',
342
+ 'lzh' => 'application/x-lha',
343
+ 'lzma' => 'application/x-lzma',
344
+ 'lzo' => 'application/x-lzop',
345
+ 'm' => 'text/x-objcsrc',
346
+ 'm15' => 'audio/x-mod',
347
+ 'm1u' => 'video/vnd.mpegurl',
348
+ 'm2t' => 'video/mp2t',
349
+ 'm2ts' => 'video/mp2t',
350
+ 'm3u' => 'audio/x-mpegurl',
351
+ 'm3u8' => 'audio/x-mpegurl',
352
+ 'm4' => 'application/x-m4',
353
+ 'm4a' => 'audio/mp4',
354
+ 'm4b' => 'audio/x-m4b',
355
+ 'm4u' => 'video/vnd.mpegurl',
356
+ 'm4v' => 'video/mp4',
357
+ 'mab' => 'application/x-markaby',
358
+ 'mak' => 'text/x-makefile',
359
+ 'man' => 'application/x-troff-man',
360
+ 'manifest' => 'text/cache-manifest',
361
+ 'markdown' => 'text/markdown',
362
+ 'mbox' => 'application/mbox',
363
+ 'md' => 'text/markdown',
364
+ 'mdb' => 'application/vnd.ms-access',
365
+ 'mdi' => 'image/vnd.ms-modi',
366
+ 'mdx' => 'application/x-genesis-rom',
367
+ 'me' => 'text/x-troff-me',
368
+ 'med' => 'audio/x-mod',
369
+ 'meta4' => 'application/metalink4+xml',
370
+ 'metalink' => 'application/metalink+xml',
371
+ 'mgp' => 'application/x-magicpoint',
372
+ 'mht' => 'application/x-mimearchive',
373
+ 'mhtml' => 'application/x-mimearchive',
374
+ 'mid' => 'audio/midi',
375
+ 'midi' => 'audio/midi',
376
+ 'mif' => 'application/x-mif',
377
+ 'minipsf' => 'audio/x-minipsf',
378
+ 'mk' => 'text/x-makefile',
379
+ 'mk3d' => 'video/x-matroska-3d',
380
+ 'mka' => 'audio/x-matroska',
381
+ 'mkd' => 'text/markdown',
382
+ 'mkv' => 'video/x-matroska',
383
+ 'ml' => 'text/x-ocaml',
384
+ 'mli' => 'text/x-ocaml',
385
+ 'mm' => 'text/x-troff-mm',
386
+ 'mmf' => 'application/x-smaf',
387
+ 'mml' => 'application/mathml+xml',
388
+ 'mng' => 'video/x-mng',
389
+ 'mo' => 'application/x-gettext-translation',
390
+ 'mo3' => 'audio/x-mo3',
391
+ 'mobi' => 'application/x-mobipocket-ebook',
392
+ 'moc' => 'text/x-moc',
393
+ 'mod' => 'audio/x-mod',
394
+ 'mof' => 'text/x-mof',
395
+ 'moov' => 'video/quicktime',
396
+ 'mov' => 'video/quicktime',
397
+ 'movie' => 'video/x-sgi-movie',
398
+ 'mp+' => 'audio/x-musepack',
399
+ 'mp2' => 'audio/mp2',
400
+ 'mp3' => 'audio/mpeg',
401
+ 'mp4' => 'video/mp4',
402
+ 'mpc' => 'audio/x-musepack',
403
+ 'mpe' => 'video/mpeg',
404
+ 'mpeg' => 'video/mpeg',
405
+ 'mpg' => 'video/mpeg',
406
+ 'mpga' => 'audio/mpeg',
407
+ 'mpl' => 'video/mp2t',
408
+ 'mpls' => 'video/mp2t',
409
+ 'mpp' => 'audio/x-musepack',
410
+ 'mrl' => 'text/x-mrml',
411
+ 'mrml' => 'text/x-mrml',
412
+ 'mrw' => 'image/x-minolta-mrw',
413
+ 'ms' => 'text/x-troff-ms',
414
+ 'msi' => 'application/x-msi',
415
+ 'msod' => 'image/x-msod',
416
+ 'msx' => 'application/x-msx-rom',
417
+ 'mtm' => 'audio/x-mod',
418
+ 'mts' => 'video/mp2t',
419
+ 'mup' => 'text/x-mup',
420
+ 'mxf' => 'application/mxf',
421
+ 'mxu' => 'video/vnd.mpegurl',
422
+ 'n64' => 'application/x-n64-rom',
423
+ 'nb' => 'application/mathematica',
424
+ 'nc' => 'application/x-netcdf',
425
+ 'nds' => 'application/x-nintendo-ds-rom',
426
+ 'nef' => 'image/x-nikon-nef',
427
+ 'nes' => 'application/x-nes-rom',
428
+ 'nez' => 'application/x-nes-rom',
429
+ 'nfo' => 'text/x-nfo',
430
+ 'not' => 'text/x-mup',
431
+ 'nsc' => 'application/x-netshow-channel',
432
+ 'nsv' => 'video/x-nsv',
433
+ 'nzb' => 'application/x-nzb',
434
+ 'o' => 'application/x-object',
435
+ 'obj' => 'application/x-tgif',
436
+ 'ocl' => 'text/x-ocl',
437
+ 'oda' => 'application/oda',
438
+ 'odb' => 'application/vnd.oasis.opendocument.database',
439
+ 'odc' => 'application/vnd.oasis.opendocument.chart',
440
+ 'odf' => 'application/vnd.oasis.opendocument.formula',
441
+ 'odg' => 'application/vnd.oasis.opendocument.graphics',
442
+ 'odi' => 'application/vnd.oasis.opendocument.image',
443
+ 'odm' => 'application/vnd.oasis.opendocument.text-master',
444
+ 'odp' => 'application/vnd.oasis.opendocument.presentation',
445
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
446
+ 'odt' => 'application/vnd.oasis.opendocument.text',
447
+ 'oga' => 'audio/ogg',
448
+ 'ogg' => 'audio/ogg',
449
+ 'ogm' => 'video/x-ogm+ogg',
450
+ 'ogv' => 'video/ogg',
451
+ 'ogx' => 'application/ogg',
452
+ 'old' => 'application/x-trash',
453
+ 'oleo' => 'application/x-oleo',
454
+ 'ooc' => 'text/x-ooc',
455
+ 'opml' => 'text/x-opml+xml',
456
+ 'oprc' => 'application/vnd.palm',
457
+ 'opus' => 'audio/ogg',
458
+ 'ora' => 'image/openraster',
459
+ 'orf' => 'image/x-olympus-orf',
460
+ 'otc' => 'application/vnd.oasis.opendocument.chart-template',
461
+ 'otf' => 'application/vnd.oasis.opendocument.formula-template',
462
+ 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
463
+ 'oth' => 'application/vnd.oasis.opendocument.text-web',
464
+ 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
465
+ 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
466
+ 'ott' => 'application/vnd.oasis.opendocument.text-template',
467
+ 'owl' => 'application/rdf+xml',
468
+ 'owx' => 'application/owl+xml',
469
+ 'oxps' => 'application/oxps',
470
+ 'oxt' => 'application/vnd.openofficeorg.extension',
471
+ 'p' => 'text/x-pascal',
472
+ 'p10' => 'application/pkcs10',
473
+ 'p12' => 'application/pkcs12',
474
+ 'p65' => 'application/x-pagemaker',
475
+ 'p7b' => 'application/x-pkcs7-certificates',
476
+ 'p7c' => 'application/pkcs7-mime',
477
+ 'p7m' => 'application/pkcs7-mime',
478
+ 'p7s' => 'application/pkcs7-signature',
479
+ 'p8' => 'application/pkcs8',
480
+ 'pack' => 'application/x-java-pack200',
481
+ 'pak' => 'application/x-pak',
482
+ 'par2' => 'application/x-par2',
483
+ 'part' => 'application/x-partial-download',
484
+ 'pas' => 'text/x-pascal',
485
+ 'patch' => 'text/x-patch',
486
+ 'pbm' => 'image/x-portable-bitmap',
487
+ 'pcap' => 'application/vnd.tcpdump.pcap',
488
+ 'pcd' => 'image/x-photo-cd',
489
+ 'pce' => 'application/x-pc-engine-rom',
490
+ 'pcf' => 'application/x-font-pcf',
491
+ 'pcf.gz' => 'application/x-font-pcf',
492
+ 'pcf.z' => 'application/x-font-pcf',
493
+ 'pcl' => 'application/vnd.hp-pcl',
494
+ 'pct' => 'image/x-pict',
495
+ 'pcx' => 'image/vnd.zbrush.pcx',
496
+ 'pdb' => 'application/x-aportisdoc',
497
+ 'pdc' => 'application/x-aportisdoc',
498
+ 'pdf' => 'application/pdf',
499
+ 'pdf.bz2' => 'application/x-bzpdf',
500
+ 'pdf.gz' => 'application/x-gzpdf',
501
+ 'pdf.xz' => 'application/x-xzpdf',
502
+ 'pef' => 'image/x-pentax-pef',
503
+ 'pem' => 'application/x-x509-ca-cert',
504
+ 'perl' => 'application/x-perl',
505
+ 'pfa' => 'application/x-font-type1',
506
+ 'pfb' => 'application/x-font-type1',
507
+ 'pfx' => 'application/pkcs12',
508
+ 'pgm' => 'image/x-portable-graymap',
509
+ 'pgn' => 'application/x-chess-pgn',
510
+ 'pgp' => 'application/pgp-encrypted',
511
+ 'php' => 'application/x-php',
512
+ 'php3' => 'application/x-php',
513
+ 'php4' => 'application/x-php',
514
+ 'php5' => 'application/x-php',
515
+ 'phps' => 'application/x-php',
516
+ 'pict' => 'image/x-pict',
517
+ 'pict1' => 'image/x-pict',
518
+ 'pict2' => 'image/x-pict',
519
+ 'pk' => 'application/x-tex-pk',
520
+ 'pkg' => 'application/x-xar',
521
+ 'pkipath' => 'application/pkix-pkipath',
522
+ 'pkr' => 'application/pgp-keys',
523
+ 'pl' => 'application/x-perl',
524
+ 'pla' => 'audio/x-iriver-pla',
525
+ 'pln' => 'application/x-planperfect',
526
+ 'pls' => 'audio/x-scpls',
527
+ 'pm' => 'application/x-perl',
528
+ 'pm6' => 'application/x-pagemaker',
529
+ 'pmd' => 'application/x-pagemaker',
530
+ 'png' => 'image/png',
531
+ 'pnm' => 'image/x-portable-anymap',
532
+ 'pntg' => 'image/x-macpaint',
533
+ 'po' => 'text/x-gettext-translation',
534
+ 'pod' => 'application/x-perl',
535
+ 'por' => 'application/x-spss-por',
536
+ 'pot' => 'application/vnd.ms-powerpoint',
537
+ 'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
538
+ 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
539
+ 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
540
+ 'ppm' => 'image/x-portable-pixmap',
541
+ 'pps' => 'application/vnd.ms-powerpoint',
542
+ 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
543
+ 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
544
+ 'ppt' => 'application/vnd.ms-powerpoint',
545
+ 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
546
+ 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
547
+ 'ppz' => 'application/vnd.ms-powerpoint',
548
+ 'pqa' => 'application/vnd.palm',
549
+ 'prc' => 'application/x-mobipocket-ebook',
550
+ 'ps' => 'application/postscript',
551
+ 'ps.bz2' => 'application/x-bzpostscript',
552
+ 'ps.gz' => 'application/x-gzpostscript',
553
+ 'psd' => 'image/vnd.adobe.photoshop',
554
+ 'psf' => 'application/x-font-linux-psf',
555
+ 'psf.gz' => 'application/x-gz-font-linux-psf',
556
+ 'psflib' => 'audio/x-psflib',
557
+ 'psid' => 'audio/prs.sid',
558
+ 'psw' => 'application/x-pocket-word',
559
+ 'pub' => 'application/vnd.ms-publisher',
560
+ 'pw' => 'application/x-pw',
561
+ 'py' => 'text/x-python',
562
+ 'pyc' => 'application/x-python-bytecode',
563
+ 'pyo' => 'application/x-python-bytecode',
564
+ 'pyx' => 'text/x-python',
565
+ 'qif' => 'application/x-qw',
566
+ 'qml' => 'text/x-qml',
567
+ 'qmlproject' => 'text/x-qml',
568
+ 'qmltypes' => 'text/x-qml',
569
+ 'qp' => 'application/x-qpress',
570
+ 'qt' => 'video/quicktime',
571
+ 'qti' => 'application/x-qtiplot',
572
+ 'qti.gz' => 'application/x-qtiplot',
573
+ 'qtif' => 'image/x-quicktime',
574
+ 'qtl' => 'application/x-quicktime-media-link',
575
+ 'qtvr' => 'video/quicktime',
576
+ 'ra' => 'audio/vnd.rn-realaudio',
577
+ 'raf' => 'image/x-fuji-raf',
578
+ 'ram' => 'application/ram',
579
+ 'rar' => 'application/x-rar',
580
+ 'ras' => 'image/x-cmu-raster',
581
+ 'raw' => 'image/x-panasonic-raw',
582
+ 'raw-disk-image' => 'application/x-raw-disk-image',
583
+ 'raw-disk-image.xz' => 'application/x-raw-disk-image-xz-compressed',
584
+ 'rax' => 'audio/vnd.rn-realaudio',
585
+ 'rb' => 'application/x-ruby',
586
+ 'rdf' => 'application/rdf+xml',
587
+ 'rdfs' => 'application/rdf+xml',
588
+ 'reg' => 'text/x-ms-regedit',
589
+ 'rej' => 'text/x-reject',
590
+ 'rgb' => 'image/x-rgb',
591
+ 'rle' => 'image/rle',
592
+ 'rm' => 'application/vnd.rn-realmedia',
593
+ 'rmj' => 'application/vnd.rn-realmedia',
594
+ 'rmm' => 'application/vnd.rn-realmedia',
595
+ 'rms' => 'application/vnd.rn-realmedia',
596
+ 'rmvb' => 'application/vnd.rn-realmedia',
597
+ 'rmx' => 'application/vnd.rn-realmedia',
598
+ 'rnc' => 'application/relax-ng-compact-syntax',
599
+ 'rng' => 'application/xml',
600
+ 'roff' => 'text/troff',
601
+ 'rp' => 'image/vnd.rn-realpix',
602
+ 'rpm' => 'application/x-rpm',
603
+ 'rs' => 'text/rust',
604
+ 'rss' => 'application/rss+xml',
605
+ 'rt' => 'text/vnd.rn-realtext',
606
+ 'rtf' => 'application/rtf',
607
+ 'rtx' => 'text/richtext',
608
+ 'rv' => 'video/vnd.rn-realvideo',
609
+ 'rvx' => 'video/vnd.rn-realvideo',
610
+ 'rw2' => 'image/x-panasonic-raw2',
611
+ 's3m' => 'audio/x-s3m',
612
+ 'sam' => 'application/x-amipro',
613
+ 'sami' => 'application/x-sami',
614
+ 'sav' => 'application/x-spss-sav',
615
+ 'scala' => 'text/x-scala',
616
+ 'scm' => 'text/x-scheme',
617
+ 'sda' => 'application/vnd.stardivision.draw',
618
+ 'sdc' => 'application/vnd.stardivision.calc',
619
+ 'sdd' => 'application/vnd.stardivision.impress',
620
+ 'sdp' => 'application/vnd.stardivision.impress',
621
+ 'sds' => 'application/vnd.stardivision.chart',
622
+ 'sdw' => 'application/vnd.stardivision.writer',
623
+ 'sfc' => 'application/vnd.nintendo.snes.rom',
624
+ 'sg' => 'application/x-sms-rom',
625
+ 'sgb' => 'application/x-gameboy-rom',
626
+ 'sgf' => 'application/x-go-sgf',
627
+ 'sgi' => 'image/x-sgi',
628
+ 'sgl' => 'application/vnd.stardivision.writer',
629
+ 'sgm' => 'text/sgml',
630
+ 'sgml' => 'text/sgml',
631
+ 'sh' => 'application/x-shellscript',
632
+ 'shape' => 'application/x-dia-shape',
633
+ 'shar' => 'application/x-shar',
634
+ 'shn' => 'application/x-shorten',
635
+ 'siag' => 'application/x-siag',
636
+ 'sid' => 'audio/prs.sid',
637
+ 'sig' => 'application/pgp-signature',
638
+ 'sik' => 'application/x-trash',
639
+ 'sis' => 'application/vnd.symbian.install',
640
+ 'sisx' => 'x-epoc/x-sisx-app',
641
+ 'sit' => 'application/x-stuffit',
642
+ 'siv' => 'application/sieve',
643
+ 'sk' => 'image/x-skencil',
644
+ 'sk1' => 'image/x-skencil',
645
+ 'skr' => 'application/pgp-keys',
646
+ 'sldm' => 'application/vnd.ms-powerpoint.slide.macroEnabled.12',
647
+ 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
648
+ 'slk' => 'text/spreadsheet',
649
+ 'smaf' => 'application/x-smaf',
650
+ 'smc' => 'application/vnd.nintendo.snes.rom',
651
+ 'smd' => 'application/vnd.stardivision.mail',
652
+ 'smf' => 'application/vnd.stardivision.math',
653
+ 'smi' => 'application/smil+xml',
654
+ 'smil' => 'application/smil+xml',
655
+ 'sml' => 'application/smil+xml',
656
+ 'sms' => 'application/x-sms-rom',
657
+ 'snd' => 'audio/basic',
658
+ 'so' => 'application/x-sharedlib',
659
+ 'spc' => 'application/x-pkcs7-certificates',
660
+ 'spd' => 'application/x-font-speedo',
661
+ 'spec' => 'text/x-rpm-spec',
662
+ 'spl' => 'application/vnd.adobe.flash.movie',
663
+ 'spm' => 'application/x-source-rpm',
664
+ 'spx' => 'audio/x-speex',
665
+ 'sql' => 'application/sql',
666
+ 'sr2' => 'image/x-sony-sr2',
667
+ 'src' => 'application/x-wais-source',
668
+ 'src.rpm' => 'application/x-source-rpm',
669
+ 'srf' => 'image/x-sony-srf',
670
+ 'srt' => 'application/x-subrip',
671
+ 'ss' => 'text/x-scheme',
672
+ 'ssa' => 'text/x-ssa',
673
+ 'stc' => 'application/vnd.sun.xml.calc.template',
674
+ 'std' => 'application/vnd.sun.xml.draw.template',
675
+ 'sti' => 'application/vnd.sun.xml.impress.template',
676
+ 'stm' => 'audio/x-stm',
677
+ 'stw' => 'application/vnd.sun.xml.writer.template',
678
+ 'sty' => 'text/x-tex',
679
+ 'sub' => 'text/x-microdvd',
680
+ 'sun' => 'image/x-sun-raster',
681
+ 'sv' => 'text/x-svsrc',
682
+ 'sv4cpio' => 'application/x-sv4cpio',
683
+ 'sv4crc' => 'application/x-sv4crc',
684
+ 'svg' => 'image/svg+xml',
685
+ 'svgz' => 'image/svg+xml-compressed',
686
+ 'svh' => 'text/x-svhdr',
687
+ 'swf' => 'application/vnd.adobe.flash.movie',
688
+ 'swm' => 'application/x-ms-wim',
689
+ 'sxc' => 'application/vnd.sun.xml.calc',
690
+ 'sxd' => 'application/vnd.sun.xml.draw',
691
+ 'sxg' => 'application/vnd.sun.xml.writer.global',
692
+ 'sxi' => 'application/vnd.sun.xml.impress',
693
+ 'sxm' => 'application/vnd.sun.xml.math',
694
+ 'sxw' => 'application/vnd.sun.xml.writer',
695
+ 'sylk' => 'text/spreadsheet',
696
+ 't' => 'application/x-perl',
697
+ 't2t' => 'text/x-txt2tags',
698
+ 'tar' => 'application/x-tar',
699
+ 'tar.bz' => 'application/x-bzip-compressed-tar',
700
+ 'tar.bz2' => 'application/x-bzip-compressed-tar',
701
+ 'tar.gz' => 'application/x-compressed-tar',
702
+ 'tar.lrz' => 'application/x-lrzip-compressed-tar',
703
+ 'tar.lzma' => 'application/x-lzma-compressed-tar',
704
+ 'tar.lzo' => 'application/x-tzo',
705
+ 'tar.xz' => 'application/x-xz-compressed-tar',
706
+ 'tar.z' => 'application/x-tarz',
707
+ 'taz' => 'application/x-tarz',
708
+ 'tb2' => 'application/x-bzip-compressed-tar',
709
+ 'tbz' => 'application/x-bzip-compressed-tar',
710
+ 'tbz2' => 'application/x-bzip-compressed-tar',
711
+ 'tcl' => 'text/x-tcl',
712
+ 'tex' => 'text/x-tex',
713
+ 'texi' => 'text/x-texinfo',
714
+ 'texinfo' => 'text/x-texinfo',
715
+ 'tga' => 'image/x-tga',
716
+ 'tgz' => 'application/x-compressed-tar',
717
+ 'theme' => 'application/x-theme',
718
+ 'themepack' => 'application/x-windows-themepack',
719
+ 'tif' => 'image/tiff',
720
+ 'tiff' => 'image/tiff',
721
+ 'tk' => 'text/x-tcl',
722
+ 'tlrz' => 'application/x-lrzip-compressed-tar',
723
+ 'tlz' => 'application/x-lzma-compressed-tar',
724
+ 'tnef' => 'application/vnd.ms-tnef',
725
+ 'tnf' => 'application/vnd.ms-tnef',
726
+ 'toc' => 'application/x-cdrdao-toc',
727
+ 'torrent' => 'application/x-bittorrent',
728
+ 'tpic' => 'image/x-tga',
729
+ 'tr' => 'text/troff',
730
+ 'trig' => 'application/x-trig',
731
+ 'ts' => 'text/vnd.trolltech.linguist',
732
+ 'tsv' => 'text/tab-separated-values',
733
+ 'tta' => 'audio/x-tta',
734
+ 'ttc' => 'application/x-font-ttf',
735
+ 'ttf' => 'application/x-font-ttf',
736
+ 'ttl' => 'text/turtle',
737
+ 'ttx' => 'application/x-font-ttx',
738
+ 'txt' => 'text/plain',
739
+ 'txz' => 'application/x-xz-compressed-tar',
740
+ 'tzo' => 'application/x-tzo',
741
+ 'udeb' => 'application/vnd.debian.binary-package',
742
+ 'ufraw' => 'application/x-ufraw',
743
+ 'ui' => 'application/x-designer',
744
+ 'uil' => 'text/x-uil',
745
+ 'ult' => 'audio/x-mod',
746
+ 'unf' => 'application/x-nes-rom',
747
+ 'uni' => 'audio/x-mod',
748
+ 'unif' => 'application/x-nes-rom',
749
+ 'url' => 'application/x-mswinurl',
750
+ 'ustar' => 'application/x-ustar',
751
+ 'uue' => 'text/x-uuencode',
752
+ 'v' => 'text/x-verilog',
753
+ 'v64' => 'application/x-n64-rom',
754
+ 'vala' => 'text/x-vala',
755
+ 'vapi' => 'text/x-vala',
756
+ 'vcard' => 'text/vcard',
757
+ 'vcf' => 'text/vcard',
758
+ 'vcs' => 'text/calendar',
759
+ 'vct' => 'text/vcard',
760
+ 'vda' => 'image/x-tga',
761
+ 'vhd' => 'text/x-vhdl',
762
+ 'vhdl' => 'text/x-vhdl',
763
+ 'viv' => 'video/vnd.vivo',
764
+ 'vivo' => 'video/vnd.vivo',
765
+ 'vlc' => 'audio/x-mpegurl',
766
+ 'vob' => 'video/mpeg',
767
+ 'voc' => 'audio/x-voc',
768
+ 'vor' => 'application/vnd.stardivision.writer',
769
+ 'vrm' => 'model/vrml',
770
+ 'vrml' => 'model/vrml',
771
+ 'vsd' => 'application/vnd.visio',
772
+ 'vsdm' => 'application/vnd.ms-visio.drawing.macroEnabled.main+xml',
773
+ 'vsdx' => 'application/vnd.ms-visio.drawing.main+xml',
774
+ 'vss' => 'application/vnd.visio',
775
+ 'vssm' => 'application/vnd.ms-visio.stencil.macroEnabled.main+xml',
776
+ 'vssx' => 'application/vnd.ms-visio.stencil.main+xml',
777
+ 'vst' => 'application/vnd.visio',
778
+ 'vstm' => 'application/vnd.ms-visio.template.macroEnabled.main+xml',
779
+ 'vstx' => 'application/vnd.ms-visio.template.main+xml',
780
+ 'vsw' => 'application/vnd.visio',
781
+ 'vtt' => 'text/vtt',
782
+ 'wad' => 'application/x-wii-wad',
783
+ 'wav' => 'audio/x-wav',
784
+ 'wax' => 'audio/x-ms-asx',
785
+ 'wb1' => 'application/x-quattropro',
786
+ 'wb2' => 'application/x-quattropro',
787
+ 'wb3' => 'application/x-quattropro',
788
+ 'wbmp' => 'image/vnd.wap.wbmp',
789
+ 'wcm' => 'application/vnd.ms-works',
790
+ 'wdb' => 'application/vnd.ms-works',
791
+ 'webm' => 'video/webm',
792
+ 'webp' => 'image/webp',
793
+ 'wim' => 'application/x-ms-wim',
794
+ 'wk1' => 'application/vnd.lotus-1-2-3',
795
+ 'wk3' => 'application/vnd.lotus-1-2-3',
796
+ 'wk4' => 'application/vnd.lotus-1-2-3',
797
+ 'wkdownload' => 'application/x-partial-download',
798
+ 'wks' => 'application/vnd.lotus-1-2-3',
799
+ 'wma' => 'audio/x-ms-wma',
800
+ 'wmf' => 'image/x-wmf',
801
+ 'wml' => 'text/vnd.wap.wml',
802
+ 'wmls' => 'text/vnd.wap.wmlscript',
803
+ 'wmv' => 'video/x-ms-wmv',
804
+ 'wmx' => 'audio/x-ms-asx',
805
+ 'woff' => 'application/font-woff',
806
+ 'wp' => 'application/vnd.wordperfect',
807
+ 'wp4' => 'application/vnd.wordperfect',
808
+ 'wp5' => 'application/vnd.wordperfect',
809
+ 'wp6' => 'application/vnd.wordperfect',
810
+ 'wpd' => 'application/vnd.wordperfect',
811
+ 'wpg' => 'application/x-wpg',
812
+ 'wpl' => 'application/vnd.ms-wpl',
813
+ 'wpp' => 'application/vnd.wordperfect',
814
+ 'wps' => 'application/vnd.ms-works',
815
+ 'wri' => 'application/x-mswrite',
816
+ 'wrl' => 'model/vrml',
817
+ 'wsgi' => 'text/x-python',
818
+ 'wv' => 'audio/x-wavpack',
819
+ 'wvc' => 'audio/x-wavpack-correction',
820
+ 'wvp' => 'audio/x-wavpack',
821
+ 'wvx' => 'audio/x-ms-asx',
822
+ 'wwf' => 'application/x-wwf',
823
+ 'x3f' => 'image/x-sigma-x3f',
824
+ 'xac' => 'application/x-gnucash',
825
+ 'xar' => 'application/x-xar',
826
+ 'xbel' => 'application/x-xbel',
827
+ 'xbl' => 'application/xml',
828
+ 'xbm' => 'image/x-xbitmap',
829
+ 'xcf' => 'image/x-xcf',
830
+ 'xcf.bz2' => 'image/x-compressed-xcf',
831
+ 'xcf.gz' => 'image/x-compressed-xcf',
832
+ 'xdgapp' => 'application/vnd.xdgapp',
833
+ 'xht' => 'application/xhtml+xml',
834
+ 'xhtml' => 'application/xhtml+xml',
835
+ 'xi' => 'audio/x-xi',
836
+ 'xla' => 'application/vnd.ms-excel',
837
+ 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
838
+ 'xlc' => 'application/vnd.ms-excel',
839
+ 'xld' => 'application/vnd.ms-excel',
840
+ 'xlf' => 'application/x-xliff',
841
+ 'xliff' => 'application/x-xliff',
842
+ 'xll' => 'application/vnd.ms-excel',
843
+ 'xlm' => 'application/vnd.ms-excel',
844
+ 'xlr' => 'application/vnd.ms-works',
845
+ 'xls' => 'application/vnd.ms-excel',
846
+ 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
847
+ 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
848
+ 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
849
+ 'xlt' => 'application/vnd.ms-excel',
850
+ 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
851
+ 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
852
+ 'xlw' => 'application/vnd.ms-excel',
853
+ 'xm' => 'audio/x-xm',
854
+ 'xmf' => 'audio/x-xmf',
855
+ 'xmi' => 'text/x-xmi',
856
+ 'xml' => 'application/xml',
857
+ 'xpi' => 'application/x-xpinstall',
858
+ 'xpm' => 'image/x-xpixmap',
859
+ 'xps' => 'application/oxps',
860
+ 'xsd' => 'application/xml',
861
+ 'xsl' => 'application/xslt+xml',
862
+ 'xslfo' => 'text/x-xslfo',
863
+ 'xslt' => 'application/xslt+xml',
864
+ 'xspf' => 'application/xspf+xml',
865
+ 'xul' => 'application/vnd.mozilla.xul+xml',
866
+ 'xwd' => 'image/x-xwindowdump',
867
+ 'xz' => 'application/x-xz',
868
+ 'yaml' => 'application/x-yaml',
869
+ 'yml' => 'application/x-yaml',
870
+ 'z' => 'application/x-compress',
871
+ 'z64' => 'application/x-n64-rom',
872
+ 'zabw' => 'application/x-abiword',
873
+ 'zip' => 'application/zip',
874
+ 'zoo' => 'application/x-zoo',
875
+ 'zsav' => 'application/x-spss-sav',
876
+ 'zz' => 'application/zlib',
877
+ }
878
+ # @private
879
+ # :nodoc:
880
+ TYPES = {
881
+ 'application/andrew-inset' => [%w(ez), %w(), 'ATK inset'],
882
+ 'application/annodex' => [%w(anx), %w(), 'Annodex exchange format'],
883
+ 'application/atom+xml' => [%w(atom), %w(application/xml), 'Atom syndication feed'],
884
+ 'application/dicom' => [%w(dcm), %w(), 'DICOM image'],
885
+ 'application/ecmascript' => [%w(es), %w(text/plain), 'ECMAScript program'],
886
+ 'application/epub+zip' => [%w(epub), %w(application/zip), 'electronic book document'],
887
+ 'application/font-woff' => [%w(woff), %w(), 'WOFF font'],
888
+ 'application/gml+xml' => [%w(gml), %w(application/xml), 'GML document'],
889
+ 'application/gnunet-directory' => [%w(gnd), %w(), 'GNUnet search file'],
890
+ 'application/gpx+xml' => [%w(gpx), %w(application/xml), 'GPX geographic data'],
891
+ 'application/gzip' => [%w(gz), %w(), 'Gzip archive'],
892
+ 'application/illustrator' => [%w(ai), %w(), 'Adobe Illustrator document'],
893
+ 'application/javascript' => [%w(js jsm), %w(application/ecmascript), 'JavaScript program'],
894
+ 'application/jrd+json' => [%w(jrd), %w(application/json), 'JRD document'],
895
+ 'application/json' => [%w(json), %w(application/javascript), 'JSON document'],
896
+ 'application/json-patch+json' => [%w(json-patch), %w(application/json), 'JSON patch'],
897
+ 'application/ld+json' => [%w(jsonld), %w(application/json), 'JSON-LD document'],
898
+ 'application/mathematica' => [%w(nb), %w(text/plain), 'Mathematica Notebook'],
899
+ 'application/mathml+xml' => [%w(mml), %w(application/xml), 'MathML document'],
900
+ 'application/mbox' => [%w(mbox), %w(text/plain), 'mailbox file'],
901
+ 'application/metalink+xml' => [%w(metalink), %w(application/xml), 'Metalink file'],
902
+ 'application/metalink4+xml' => [%w(meta4), %w(application/xml), 'Metalink file'],
903
+ 'application/msword' => [%w(doc), %w(application/x-ole-storage), 'Word document'],
904
+ 'application/msword-template' => [%w(dot), %w(application/msword), 'Word template'],
905
+ 'application/mxf' => [%w(mxf), %w(), 'MXF video'],
906
+ 'application/octet-stream' => [%w(bin), %w(), 'unknown'],
907
+ 'application/oda' => [%w(oda), %w(), 'ODA document'],
908
+ 'application/ogg' => [%w(ogx), %w(), 'Ogg multimedia file'],
909
+ 'application/owl+xml' => [%w(owx), %w(application/xml), 'OWL XML file'],
910
+ 'application/oxps' => [%w(oxps xps), %w(application/zip), 'XPS document'],
911
+ 'application/pdf' => [%w(pdf), %w(), 'PDF document'],
912
+ 'application/pgp-encrypted' => [%w(asc gpg pgp), %w(text/plain), 'PGP/MIME-encrypted message header'],
913
+ 'application/pgp-keys' => [%w(asc gpg pgp pkr skr), %w(text/plain), 'PGP keys'],
914
+ 'application/pgp-signature' => [%w(asc gpg pgp sig), %w(text/plain), 'detached OpenPGP signature'],
915
+ 'application/pkcs10' => [%w(p10), %w(), 'PKCS#10 certification request'],
916
+ 'application/pkcs12' => [%w(p12 pfx), %w(), 'PKCS#12 certificate bundle'],
917
+ 'application/pkcs7-mime' => [%w(p7c p7m), %w(), 'PKCS#7 Message or Certificate'],
918
+ 'application/pkcs7-signature' => [%w(p7s), %w(text/plain), 'detached S/MIME signature'],
919
+ 'application/pkcs8' => [%w(p8), %w(), 'PKCS#8 private key'],
920
+ 'application/pkix-cert' => [%w(cer), %w(), 'X.509 certificate'],
921
+ 'application/pkix-crl' => [%w(crl), %w(), 'Certificate revocation list'],
922
+ 'application/pkix-pkipath' => [%w(pkipath), %w(), 'PkiPath certification path'],
923
+ 'application/postscript' => [%w(ps), %w(text/plain), 'PS document'],
924
+ 'application/ram' => [%w(ram), %w(), 'RealMedia Metafile'],
925
+ 'application/rdf+xml' => [%w(owl rdf rdfs), %w(application/xml), 'RDF file'],
926
+ 'application/relax-ng-compact-syntax' => [%w(rnc), %w(text/plain), 'RELAX NG XML schema'],
927
+ 'application/rss+xml' => [%w(rss), %w(application/xml), 'RSS summary'],
928
+ 'application/rtf' => [%w(rtf), %w(text/plain), 'RTF document'],
929
+ 'application/sdp' => [%w(sdp), %w(text/plain), 'SDP multicast stream file'],
930
+ 'application/sieve' => [%w(siv), %w(application/xml), 'Sieve mail filter script'],
931
+ 'application/smil+xml' => [%w(kino smi smil sml), %w(application/xml), 'SMIL document'],
932
+ 'application/sql' => [%w(sql), %w(text/plain), 'SQL code'],
933
+ 'application/vnd.adobe.flash.movie' => [%w(spl swf), %w(), 'Shockwave Flash file'],
934
+ 'application/vnd.android.package-archive' => [%w(apk), %w(application/x-java-archive), 'Android package'],
935
+ 'application/vnd.apple.mpegurl' => [%w(m3u m3u8), %w(text/plain), 'HTTP Live Streaming playlist'],
936
+ 'application/vnd.coffeescript' => [%w(coffee), %w(text/plain), 'CoffeeScript document'],
937
+ 'application/vnd.corel-draw' => [%w(cdr), %w(), 'Corel Draw drawing'],
938
+ 'application/vnd.debian.binary-package' => [%w(deb udeb), %w(), 'Debian package'],
939
+ 'application/vnd.emusic-emusic_package' => [%w(emp), %w(), 'eMusic download package'],
940
+ 'application/vnd.geo+json' => [%w(geo.json geojson), %w(application/json), 'GeoJSON geospatial data'],
941
+ 'application/vnd.google-earth.kml+xml' => [%w(kml), %w(application/xml), 'KML geographic data'],
942
+ 'application/vnd.google-earth.kmz' => [%w(kmz), %w(application/zip), 'KML geographic compressed data'],
943
+ 'application/vnd.hp-hpgl' => [%w(hpgl), %w(), 'HPGL file'],
944
+ 'application/vnd.hp-pcl' => [%w(pcl), %w(), 'PCL file'],
945
+ 'application/vnd.iccprofile' => [%w(icc icm), %w(), 'ICC profile'],
946
+ 'application/vnd.lotus-1-2-3' => [%w(123 wk1 wk3 wk4 wks), %w(), 'Lotus 1-2-3 spreadsheet'],
947
+ 'application/vnd.lotus-wordpro' => [%w(lwp), %w(), 'Lotus Word Pro'],
948
+ 'application/vnd.mozilla.xul+xml' => [%w(xul), %w(application/xml), 'XUL interface document'],
949
+ 'application/vnd.ms-access' => [%w(mdb), %w(), 'JET database'],
950
+ 'application/vnd.ms-asf' => [%w(asf), %w(), 'ASF video'],
951
+ 'application/vnd.ms-cab-compressed' => [%w(cab), %w(), 'Microsoft Cabinet archive'],
952
+ 'application/vnd.ms-excel' => [%w(xla xlc xld xll xlm xls xlt xlw), %w(), 'Excel spreadsheet'],
953
+ 'application/vnd.ms-excel.addin.macroEnabled.12' => [%w(xlam), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), 'Excel add-in'],
954
+ 'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => [%w(xlsb), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), 'Excel 2007 binary spreadsheet'],
955
+ 'application/vnd.ms-excel.sheet.macroEnabled.12' => [%w(xlsm), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.sheet), 'Excel spreadsheet'],
956
+ 'application/vnd.ms-excel.template.macroEnabled.12' => [%w(xltm), %w(application/vnd.openxmlformats-officedocument.spreadsheetml.template), 'Excel spreadsheet template'],
957
+ 'application/vnd.ms-htmlhelp' => [%w(chm), %w(), 'CHM document'],
958
+ 'application/vnd.ms-powerpoint' => [%w(pot pps ppt ppz), %w(), 'PowerPoint presentation'],
959
+ 'application/vnd.ms-powerpoint.addin.macroEnabled.12' => [%w(ppam), %w(), 'PowerPoint add-in'],
960
+ 'application/vnd.ms-powerpoint.presentation.macroEnabled.12' => [%w(pptm), %w(application/vnd.openxmlformats-officedocument.presentationml.presentation), 'PowerPoint presentation'],
961
+ 'application/vnd.ms-powerpoint.slide.macroEnabled.12' => [%w(sldm), %w(application/vnd.openxmlformats-officedocument.presentationml.slide), 'PowerPoint slide'],
962
+ 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' => [%w(ppsm), %w(application/vnd.openxmlformats-officedocument.presentationml.slideshow), 'PowerPoint presentation'],
963
+ 'application/vnd.ms-powerpoint.template.macroEnabled.12' => [%w(potm), %w(application/vnd.openxmlformats-officedocument.presentationml.template), 'PowerPoint presentation template'],
964
+ 'application/vnd.ms-publisher' => [%w(pub), %w(application/x-ole-storage), 'Microsoft Publisher document'],
965
+ 'application/vnd.ms-tnef' => [%w(tnef tnf), %w(), 'TNEF message'],
966
+ 'application/vnd.ms-visio.drawing.macroEnabled.main+xml' => [%w(vsdm), %w(application/zip), 'Office Open XML Visio Drawing'],
967
+ 'application/vnd.ms-visio.drawing.main+xml' => [%w(vsdx), %w(application/zip), 'Office Open XML Visio Drawing'],
968
+ 'application/vnd.ms-visio.stencil.macroEnabled.main+xml' => [%w(vssm), %w(application/zip), 'Office Open XML Visio Stencil'],
969
+ 'application/vnd.ms-visio.stencil.main+xml' => [%w(vssx), %w(application/zip), 'Office Open XML Visio Stencil'],
970
+ 'application/vnd.ms-visio.template.macroEnabled.main+xml' => [%w(vstm), %w(application/zip), 'Office Open XML Visio Template'],
971
+ 'application/vnd.ms-visio.template.main+xml' => [%w(vstx), %w(application/zip), 'Office Open XML Visio Template'],
972
+ 'application/vnd.ms-word.document.macroEnabled.12' => [%w(docm), %w(application/vnd.openxmlformats-officedocument.wordprocessingml.document), 'Word document'],
973
+ 'application/vnd.ms-word.template.macroEnabled.12' => [%w(dotm), %w(application/vnd.openxmlformats-officedocument.wordprocessingml.template), 'Word document template'],
974
+ 'application/vnd.ms-works' => [%w(wcm wdb wks wps xlr), %w(application/x-ole-storage), 'Microsoft Works document'],
975
+ 'application/vnd.ms-wpl' => [%w(wpl), %w(), 'WPL playlist'],
976
+ 'application/vnd.nintendo.snes.rom' => [%w(sfc smc), %w(), 'Super NES ROM'],
977
+ 'application/vnd.oasis.opendocument.chart' => [%w(odc), %w(application/zip), 'ODC chart'],
978
+ 'application/vnd.oasis.opendocument.chart-template' => [%w(otc), %w(application/zip), 'ODC template'],
979
+ 'application/vnd.oasis.opendocument.database' => [%w(odb), %w(application/zip), 'ODB database'],
980
+ 'application/vnd.oasis.opendocument.formula' => [%w(odf), %w(application/zip), 'ODF formula'],
981
+ 'application/vnd.oasis.opendocument.formula-template' => [%w(otf), %w(application/zip), 'ODF template'],
982
+ 'application/vnd.oasis.opendocument.graphics' => [%w(odg), %w(application/zip), 'ODG drawing'],
983
+ 'application/vnd.oasis.opendocument.graphics-flat-xml' => [%w(fodg), %w(application/xml), 'ODG drawing (Flat XML)'],
984
+ 'application/vnd.oasis.opendocument.graphics-template' => [%w(otg), %w(application/zip), 'ODG template'],
985
+ 'application/vnd.oasis.opendocument.image' => [%w(odi), %w(application/zip), 'ODI image'],
986
+ 'application/vnd.oasis.opendocument.presentation' => [%w(odp), %w(application/zip), 'ODP presentation'],
987
+ 'application/vnd.oasis.opendocument.presentation-flat-xml' => [%w(fodp), %w(application/xml), 'ODP presentation (Flat XML)'],
988
+ 'application/vnd.oasis.opendocument.presentation-template' => [%w(otp), %w(application/zip), 'ODP template'],
989
+ 'application/vnd.oasis.opendocument.spreadsheet' => [%w(ods), %w(application/zip), 'ODS spreadsheet'],
990
+ 'application/vnd.oasis.opendocument.spreadsheet-flat-xml' => [%w(fods), %w(application/xml), 'ODS spreadsheet (Flat XML)'],
991
+ 'application/vnd.oasis.opendocument.spreadsheet-template' => [%w(ots), %w(application/zip), 'ODS template'],
992
+ 'application/vnd.oasis.opendocument.text' => [%w(odt), %w(application/zip), 'ODT document'],
993
+ 'application/vnd.oasis.opendocument.text-flat-xml' => [%w(fodt), %w(application/xml), 'ODT document (Flat XML)'],
994
+ 'application/vnd.oasis.opendocument.text-master' => [%w(odm), %w(application/zip), 'ODM document'],
995
+ 'application/vnd.oasis.opendocument.text-template' => [%w(ott), %w(application/zip), 'ODT template'],
996
+ 'application/vnd.oasis.opendocument.text-web' => [%w(oth), %w(application/zip), 'OTH template'],
997
+ 'application/vnd.openofficeorg.extension' => [%w(oxt), %w(application/zip), 'OpenOffice.org extension'],
998
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => [%w(pptx), %w(application/zip), 'PowerPoint 2007 presentation'],
999
+ 'application/vnd.openxmlformats-officedocument.presentationml.slide' => [%w(sldx), %w(application/zip), 'PowerPoint 2007 slide'],
1000
+ 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => [%w(ppsx), %w(application/zip), 'PowerPoint 2007 show'],
1001
+ 'application/vnd.openxmlformats-officedocument.presentationml.template' => [%w(potx), %w(application/zip), 'PowerPoint 2007 presentation template'],
1002
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => [%w(xlsx), %w(application/zip), 'Excel 2007 spreadsheet'],
1003
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => [%w(xltx), %w(application/zip), 'Excel 2007 spreadsheet template'],
1004
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => [%w(docx), %w(application/zip), 'Word 2007 document'],
1005
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => [%w(dotx), %w(application/zip), 'Word 2007 document template'],
1006
+ 'application/vnd.palm' => [%w(oprc pdb pqa prc), %w(), 'Palm OS database'],
1007
+ 'application/vnd.rn-realmedia' => [%w(rm rmj rmm rms rmvb rmx), %w(), 'RealMedia document'],
1008
+ 'application/vnd.stardivision.calc' => [%w(sdc), %w(), 'StarCalc spreadsheet'],
1009
+ 'application/vnd.stardivision.chart' => [%w(sds), %w(), 'StarChart chart'],
1010
+ 'application/vnd.stardivision.draw' => [%w(sda), %w(), 'StarDraw drawing'],
1011
+ 'application/vnd.stardivision.impress' => [%w(sdd sdp), %w(), 'StarImpress presentation'],
1012
+ 'application/vnd.stardivision.mail' => [%w(smd), %w(), 'StarMail email'],
1013
+ 'application/vnd.stardivision.math' => [%w(smf), %w(), 'StarMath formula'],
1014
+ 'application/vnd.stardivision.writer' => [%w(sdw sgl vor), %w(), 'StarWriter document'],
1015
+ 'application/vnd.sun.xml.calc' => [%w(sxc), %w(application/zip), 'OpenOffice Calc spreadsheet'],
1016
+ 'application/vnd.sun.xml.calc.template' => [%w(stc), %w(application/zip), 'OpenOffice Calc template'],
1017
+ 'application/vnd.sun.xml.draw' => [%w(sxd), %w(application/zip), 'OpenOffice Draw drawing'],
1018
+ 'application/vnd.sun.xml.draw.template' => [%w(std), %w(application/zip), 'OpenOffice Draw template'],
1019
+ 'application/vnd.sun.xml.impress' => [%w(sxi), %w(application/zip), 'OpenOffice Impress presentation'],
1020
+ 'application/vnd.sun.xml.impress.template' => [%w(sti), %w(application/zip), 'OpenOffice Impress template'],
1021
+ 'application/vnd.sun.xml.math' => [%w(sxm), %w(application/zip), 'OpenOffice Math formula'],
1022
+ 'application/vnd.sun.xml.writer' => [%w(sxw), %w(application/zip), 'OpenOffice Writer document'],
1023
+ 'application/vnd.sun.xml.writer.global' => [%w(sxg), %w(application/zip), 'OpenOffice Writer global document'],
1024
+ 'application/vnd.sun.xml.writer.template' => [%w(stw), %w(application/zip), 'OpenOffice Writer template'],
1025
+ 'application/vnd.symbian.install' => [%w(sis), %w(), 'SIS package'],
1026
+ 'application/vnd.tcpdump.pcap' => [%w(cap dmp pcap), %w(), 'Network Packet Capture'],
1027
+ 'application/vnd.visio' => [%w(vsd vss vst vsw), %w(application/x-ole-storage), 'Microsoft Visio document'],
1028
+ 'application/vnd.wordperfect' => [%w(wp wp4 wp5 wp6 wpd wpp), %w(), 'WordPerfect document'],
1029
+ 'application/vnd.xdgapp' => [%w(xdgapp), %w(), 'XDG application bundle'],
1030
+ 'application/winhlp' => [%w(hlp), %w(), 'WinHelp help file'],
1031
+ 'application/x-7z-compressed' => [%w(7z), %w(), '7-zip archive'],
1032
+ 'application/x-abiword' => [%w(abw abw.crashed abw.gz zabw), %w(application/xml), 'AbiWord document'],
1033
+ 'application/x-ace' => [%w(ace), %w(), 'ACE archive'],
1034
+ 'application/x-alz' => [%w(alz), %w(), 'Alzip archive'],
1035
+ 'application/x-amiga-disk-format' => [%w(adf), %w(), 'Amiga disk image'],
1036
+ 'application/x-amipro' => [%w(sam), %w(), 'Lotus AmiPro document'],
1037
+ 'application/x-aportisdoc' => [%w(pdb pdc), %w(application/x-palm-database), 'AportisDoc document'],
1038
+ 'application/x-apple-diskimage' => [%w(dmg), %w(), 'Apple disk image'],
1039
+ 'application/x-applix-spreadsheet' => [%w(as), %w(), 'Applix Spreadsheets spreadsheet'],
1040
+ 'application/x-applix-word' => [%w(aw), %w(), 'Applix Words document'],
1041
+ 'application/x-archive' => [%w(a ar), %w(), 'AR archive'],
1042
+ 'application/x-arj' => [%w(arj), %w(), 'ARJ archive'],
1043
+ 'application/x-asp' => [%w(asp), %w(text/plain), 'ASP page'],
1044
+ 'application/x-awk' => [%w(awk), %w(application/x-executable text/plain), 'AWK script'],
1045
+ 'application/x-bcpio' => [%w(bcpio), %w(), 'BCPIO document'],
1046
+ 'application/x-bittorrent' => [%w(torrent), %w(), 'BitTorrent seed file'],
1047
+ 'application/x-blender' => [%w(blend blend blender), %w(), 'Blender scene'],
1048
+ 'application/x-bzdvi' => [%w(dvi.bz2), %w(application/x-bzip), 'TeX DVI document (bzip-compressed)'],
1049
+ 'application/x-bzip' => [%w(bz bz2), %w(), 'Bzip archive'],
1050
+ 'application/x-bzip-compressed-tar' => [%w(tar.bz tar.bz2 tb2 tbz tbz2), %w(application/x-bzip), 'Tar archive (bzip-compressed)'],
1051
+ 'application/x-bzpdf' => [%w(pdf.bz2), %w(application/x-bzip), 'PDF document (bzip-compressed)'],
1052
+ 'application/x-bzpostscript' => [%w(ps.bz2), %w(application/x-bzip), 'PostScript document (bzip-compressed)'],
1053
+ 'application/x-cb7' => [%w(cb7), %w(application/x-7z-compressed), 'comic book archive'],
1054
+ 'application/x-cbr' => [%w(cbr), %w(application/x-rar), 'comic book archive'],
1055
+ 'application/x-cbt' => [%w(cbt), %w(application/x-tar), 'comic book archive'],
1056
+ 'application/x-cbz' => [%w(cbz), %w(application/zip), 'comic book archive'],
1057
+ 'application/x-ccmx' => [%w(ccmx), %w(text/plain), 'CCMX color correction file'],
1058
+ 'application/x-cd-image' => [%w(iso iso9660), %w(application/x-raw-disk-image), 'raw CD image'],
1059
+ 'application/x-cdrdao-toc' => [%w(toc), %w(text/plain), 'CD Table Of Contents'],
1060
+ 'application/x-chess-pgn' => [%w(pgn), %w(text/plain), 'PGN chess game notation'],
1061
+ 'application/x-cisco-vpn-settings' => [%w(pcf), %w(), 'Cisco VPN Settings'],
1062
+ 'application/x-compress' => [%w(z), %w(), 'UNIX-compressed file'],
1063
+ 'application/x-compressed-tar' => [%w(tar.gz tgz), %w(application/gzip), 'Tar archive (gzip-compressed)'],
1064
+ 'application/x-cpio' => [%w(cpio), %w(), 'CPIO archive'],
1065
+ 'application/x-cpio-compressed' => [%w(cpio.gz), %w(application/gzip), 'CPIO archive (gzip-compressed)'],
1066
+ 'application/x-csh' => [%w(csh), %w(application/x-shellscript text/plain), 'C shell script'],
1067
+ 'application/x-cue' => [%w(cue), %w(text/plain), 'CD image cuesheet'],
1068
+ 'application/x-dar' => [%w(dar), %w(), 'DAR archive'],
1069
+ 'application/x-dbf' => [%w(dbf), %w(), 'Xbase document'],
1070
+ 'application/x-dc-rom' => [%w(dc), %w(), 'Dreamcast GD-ROM'],
1071
+ 'application/x-designer' => [%w(ui), %w(application/xml), 'Qt Designer file'],
1072
+ 'application/x-desktop' => [%w(desktop kdelnk), %w(text/plain), 'desktop configuration file'],
1073
+ 'application/x-dia-diagram' => [%w(dia), %w(application/xml), 'Dia diagram'],
1074
+ 'application/x-dia-shape' => [%w(shape), %w(application/xml), 'Dia shape'],
1075
+ 'application/x-docbook+xml' => [%w(dbk docbook), %w(application/xml), 'DocBook document'],
1076
+ 'application/x-doom-wad' => [%w(wad), %w(), 'Doom WAD'],
1077
+ 'application/x-dvi' => [%w(dvi), %w(), 'TeX DVI document'],
1078
+ 'application/x-e-theme' => [%w(etheme), %w(), 'Enlightenment theme'],
1079
+ 'application/x-egon' => [%w(egon), %w(), 'Egon Animator animation'],
1080
+ 'application/x-fictionbook+xml' => [%w(fb2), %w(application/xml), 'FictionBook document'],
1081
+ 'application/x-fluid' => [%w(fl), %w(text/plain), 'FLTK Fluid file'],
1082
+ 'application/x-font-afm' => [%w(afm), %w(), 'Adobe font metrics'],
1083
+ 'application/x-font-bdf' => [%w(bdf), %w(), 'BDF font'],
1084
+ 'application/x-font-linux-psf' => [%w(psf), %w(), 'Linux PSF console font'],
1085
+ 'application/x-font-otf' => [%w(otf), %w(application/x-font-ttf), 'OpenType font'],
1086
+ 'application/x-font-pcf' => [%w(pcf pcf.gz pcf.z), %w(), 'PCF font'],
1087
+ 'application/x-font-speedo' => [%w(spd), %w(), 'Speedo font'],
1088
+ 'application/x-font-ttf' => [%w(ttc ttf), %w(), 'TrueType font'],
1089
+ 'application/x-font-ttx' => [%w(ttx), %w(text/xml), 'TrueType XML font'],
1090
+ 'application/x-font-type1' => [%w(gsf pfa pfb), %w(application/postscript), 'Postscript type-1 font'],
1091
+ 'application/x-gameboy-rom' => [%w(cgb gb gbc sgb), %w(), 'Game Boy ROM'],
1092
+ 'application/x-gamecube-rom' => [%w(iso), %w(), 'GameCube disc image'],
1093
+ 'application/x-gba-rom' => [%w(agb gba), %w(), 'Game Boy Advance ROM'],
1094
+ 'application/x-gedcom' => [%w(ged gedcom), %w(), 'GEDCOM family history'],
1095
+ 'application/x-genesis-rom' => [%w(32x gen mdx smd), %w(), 'Genesis ROM'],
1096
+ 'application/x-gettext-translation' => [%w(gmo mo), %w(), 'translated messages (machine-readable)'],
1097
+ 'application/x-glade' => [%w(glade), %w(application/xml), 'Glade project'],
1098
+ 'application/x-gnucash' => [%w(gnc gnucash xac), %w(), 'GnuCash financial data'],
1099
+ 'application/x-gnumeric' => [%w(gnumeric), %w(), 'Gnumeric spreadsheet'],
1100
+ 'application/x-gnuplot' => [%w(gnuplot gp gplt), %w(text/plain), 'Gnuplot document'],
1101
+ 'application/x-go-sgf' => [%w(sgf), %w(text/plain), 'SGF record'],
1102
+ 'application/x-graphite' => [%w(gra), %w(), 'Graphite scientific graph'],
1103
+ 'application/x-gtk-builder' => [%w(ui), %w(application/xml), 'GTK+ Builder'],
1104
+ 'application/x-gz-font-linux-psf' => [%w(psf.gz), %w(application/gzip), 'Linux PSF console font (gzip-compressed)'],
1105
+ 'application/x-gzdvi' => [%w(dvi.gz), %w(application/gzip), 'TeX DVI document (gzip-compressed)'],
1106
+ 'application/x-gzpdf' => [%w(pdf.gz), %w(application/gzip), 'PDF document (gzip-compressed)'],
1107
+ 'application/x-gzpostscript' => [%w(ps.gz), %w(application/gzip), 'PostScript document (gzip-compressed)'],
1108
+ 'application/x-hdf' => [%w(h4 h5 hdf hdf4 hdf5), %w(), 'HDF document'],
1109
+ 'application/x-hwp' => [%w(hwp), %w(), 'Haansoft Hangul document'],
1110
+ 'application/x-hwt' => [%w(hwt), %w(), 'Haansoft Hangul document template'],
1111
+ 'application/x-ica' => [%w(ica), %w(text/plain), 'Citrix ICA settings file'],
1112
+ 'application/x-it87' => [%w(it87), %w(text/plain), 'IT 8.7 color calibration file'],
1113
+ 'application/x-iwork-keynote-sffkey' => [%w(key), %w(application/zip), 'Apple Keynote 5 presentation'],
1114
+ 'application/x-java' => [%w(class), %w(), 'Java class'],
1115
+ 'application/x-java-archive' => [%w(jar), %w(application/zip), 'Java archive'],
1116
+ 'application/x-java-jce-keystore' => [%w(jceks), %w(), 'Java JCE keystore'],
1117
+ 'application/x-java-jnlp-file' => [%w(jnlp), %w(application/xml), 'JNLP file'],
1118
+ 'application/x-java-keystore' => [%w(jks ks), %w(), 'Java keystore'],
1119
+ 'application/x-java-pack200' => [%w(pack), %w(), 'Pack200 Java archive'],
1120
+ 'application/x-jbuilder-project' => [%w(jpr jpx), %w(), 'JBuilder project'],
1121
+ 'application/x-karbon' => [%w(karbon), %w(), 'Karbon14 drawing'],
1122
+ 'application/x-kchart' => [%w(chrt), %w(), 'KChart chart'],
1123
+ 'application/x-kexi-connectiondata' => [%w(kexic), %w(), 'Kexi settings for database server connection'],
1124
+ 'application/x-kexiproject-shortcut' => [%w(kexis), %w(), 'shortcut to Kexi project on database server'],
1125
+ 'application/x-kexiproject-sqlite2' => [%w(kexi), %w(application/x-sqlite2), 'Kexi database file-based project'],
1126
+ 'application/x-kexiproject-sqlite3' => [%w(kexi), %w(application/x-sqlite3), 'Kexi database file-based project'],
1127
+ 'application/x-kformula' => [%w(kfo), %w(), 'KFormula formula'],
1128
+ 'application/x-killustrator' => [%w(kil), %w(), 'KIllustrator drawing'],
1129
+ 'application/x-kivio' => [%w(flw), %w(), 'Kivio flowchart'],
1130
+ 'application/x-kontour' => [%w(kon), %w(), 'Kontour drawing'],
1131
+ 'application/x-kpovmodeler' => [%w(kpm), %w(), 'KPovModeler scene'],
1132
+ 'application/x-kpresenter' => [%w(kpr kpt), %w(), 'KPresenter presentation'],
1133
+ 'application/x-krita' => [%w(kra), %w(), 'Krita document'],
1134
+ 'application/x-kspread' => [%w(ksp), %w(), 'KSpread spreadsheet'],
1135
+ 'application/x-kugar' => [%w(kud), %w(), 'Kugar document'],
1136
+ 'application/x-kword' => [%w(kwd kwt), %w(), 'KWord document'],
1137
+ 'application/x-lha' => [%w(lha lzh), %w(), 'LHA archive'],
1138
+ 'application/x-lhz' => [%w(lhz), %w(), 'LHZ archive'],
1139
+ 'application/x-lrzip' => [%w(lrz), %w(), 'Lrzip archive'],
1140
+ 'application/x-lrzip-compressed-tar' => [%w(tar.lrz tlrz), %w(application/x-lrzip), 'Tar archive (lrzip-compressed)'],
1141
+ 'application/x-lyx' => [%w(lyx), %w(text/plain), 'LyX document'],
1142
+ 'application/x-lz4' => [%w(lz4), %w(), 'LZ4 archive'],
1143
+ 'application/x-lzip' => [%w(lz), %w(), 'Lzip archive'],
1144
+ 'application/x-lzma' => [%w(lzma), %w(), 'LZMA archive'],
1145
+ 'application/x-lzma-compressed-tar' => [%w(tar.lzma tlz), %w(application/x-lzma), 'Tar archive (LZMA-compressed)'],
1146
+ 'application/x-lzop' => [%w(lzo), %w(), 'LZO archive'],
1147
+ 'application/x-m4' => [%w(m4), %w(text/plain), 'M4 macro'],
1148
+ 'application/x-magicpoint' => [%w(mgp), %w(text/plain), 'MagicPoint presentation'],
1149
+ 'application/x-markaby' => [%w(mab), %w(application/x-ruby), 'Markaby script'],
1150
+ 'application/x-mif' => [%w(mif), %w(), 'Adobe FrameMaker MIF document'],
1151
+ 'application/x-mimearchive' => [%w(mht mhtml), %w(multipart/related), 'MHTML web archive'],
1152
+ 'application/x-mobipocket-ebook' => [%w(mobi prc), %w(application/x-palm-database), 'Mobipocket e-book'],
1153
+ 'application/x-ms-dos-executable' => [%w(exe), %w(), 'DOS/Windows executable'],
1154
+ 'application/x-ms-wim' => [%w(swm wim), %w(), 'WIM disk Image'],
1155
+ 'application/x-msi' => [%w(msi), %w(application/x-ole-storage), 'Windows Installer package'],
1156
+ 'application/x-mswinurl' => [%w(url), %w(), 'Internet shortcut'],
1157
+ 'application/x-mswrite' => [%w(wri), %w(), 'WRI document'],
1158
+ 'application/x-msx-rom' => [%w(msx), %w(), 'MSX ROM'],
1159
+ 'application/x-n64-rom' => [%w(n64 v64 z64), %w(), 'Nintendo64 ROM'],
1160
+ 'application/x-navi-animation' => [%w(ani), %w(), 'Windows animated cursor'],
1161
+ 'application/x-nes-rom' => [%w(nes nez unf unif), %w(), 'NES ROM'],
1162
+ 'application/x-netcdf' => [%w(cdf nc), %w(), 'Unidata NetCDF document'],
1163
+ 'application/x-netshow-channel' => [%w(nsc), %w(application/vnd.ms-asf), 'Windows Media Station file'],
1164
+ 'application/x-nintendo-ds-rom' => [%w(nds), %w(), 'Nintendo DS ROM'],
1165
+ 'application/x-nzb' => [%w(nzb), %w(application/xml), 'NewzBin usenet index'],
1166
+ 'application/x-object' => [%w(o), %w(), 'object code'],
1167
+ 'application/x-oleo' => [%w(oleo), %w(), 'GNU Oleo spreadsheet'],
1168
+ 'application/x-pagemaker' => [%w(p65 pm pm6 pmd), %w(application/x-ole-storage), 'Adobe PageMaker'],
1169
+ 'application/x-pak' => [%w(pak), %w(), 'PAK archive'],
1170
+ 'application/x-par2' => [%w(par2 par2), %w(), 'Parchive archive'],
1171
+ 'application/x-partial-download' => [%w(crdownload part wkdownload), %w(), 'Partially downloaded file'],
1172
+ 'application/x-pc-engine-rom' => [%w(pce), %w(), 'PC Engine ROM'],
1173
+ 'application/x-perl' => [%w(al perl pl pl pm pod t), %w(application/x-executable text/plain), 'Perl script'],
1174
+ 'application/x-php' => [%w(php php3 php4 php5 phps), %w(text/plain), 'PHP script'],
1175
+ 'application/x-pkcs7-certificates' => [%w(p7b spc), %w(), 'PKCS#7 certificate bundle'],
1176
+ 'application/x-planperfect' => [%w(pln), %w(), 'PlanPerfect spreadsheet'],
1177
+ 'application/x-pocket-word' => [%w(psw), %w(), 'Pocket Word document'],
1178
+ 'application/x-pw' => [%w(pw), %w(), 'Pathetic Writer document'],
1179
+ 'application/x-python-bytecode' => [%w(pyc pyo), %w(), 'Python bytecode'],
1180
+ 'application/x-qpress' => [%w(qp), %w(), 'Qpress archive'],
1181
+ 'application/x-qtiplot' => [%w(qti qti.gz), %w(text/plain), 'QtiPlot document'],
1182
+ 'application/x-quattropro' => [%w(wb1 wb2 wb3), %w(), 'Quattro Pro spreadsheet'],
1183
+ 'application/x-quicktime-media-link' => [%w(qtl), %w(video/quicktime), 'QuickTime metalink playlist'],
1184
+ 'application/x-qw' => [%w(qif), %w(), 'Quicken document'],
1185
+ 'application/x-rar' => [%w(rar), %w(), 'RAR archive'],
1186
+ 'application/x-raw-disk-image' => [%w(img raw-disk-image), %w(), 'Raw disk image'],
1187
+ 'application/x-raw-disk-image-xz-compressed' => [%w(img.xz raw-disk-image.xz), %w(application/x-xz), 'Raw disk image (XZ-compressed)'],
1188
+ 'application/x-rpm' => [%w(rpm), %w(), 'RPM package'],
1189
+ 'application/x-ruby' => [%w(rb), %w(application/x-executable text/plain), 'Ruby script'],
1190
+ 'application/x-sami' => [%w(sami smi), %w(text/plain), 'SAMI subtitles'],
1191
+ 'application/x-saturn-rom' => [%w(bin iso), %w(), 'Sega Saturn disc image'],
1192
+ 'application/x-shar' => [%w(shar), %w(), 'shell archive'],
1193
+ 'application/x-shared-library-la' => [%w(la), %w(text/plain), 'libtool shared library'],
1194
+ 'application/x-sharedlib' => [%w(so), %w(), 'shared library'],
1195
+ 'application/x-shellscript' => [%w(sh), %w(application/x-executable text/plain), 'shell script'],
1196
+ 'application/x-shorten' => [%w(shn), %w(), 'Shorten audio'],
1197
+ 'application/x-siag' => [%w(siag), %w(), 'Siag spreadsheet'],
1198
+ 'application/x-smaf' => [%w(mmf smaf), %w(), 'SMAF audio'],
1199
+ 'application/x-sms-rom' => [%w(gg sg sms), %w(), 'Sega Master System/Game Gear ROM'],
1200
+ 'application/x-source-rpm' => [%w(spm src.rpm), %w(application/x-rpm), 'Source RPM package'],
1201
+ 'application/x-spss-por' => [%w(por), %w(), 'SPSS Portable Data File'],
1202
+ 'application/x-spss-sav' => [%w(sav zsav), %w(), 'SPSS Data File'],
1203
+ 'application/x-stuffit' => [%w(sit), %w(), 'StuffIt archive'],
1204
+ 'application/x-subrip' => [%w(srt), %w(text/plain), 'SubRip subtitles'],
1205
+ 'application/x-sv4cpio' => [%w(sv4cpio), %w(), 'SV4 CPIO archive'],
1206
+ 'application/x-sv4crc' => [%w(sv4crc), %w(), 'SV4 CPIO archive (with CRC)'],
1207
+ 'application/x-t602' => [%w(602), %w(), 'T602 document'],
1208
+ 'application/x-tar' => [%w(gem gtar tar), %w(), 'Tar archive'],
1209
+ 'application/x-tarz' => [%w(tar.z taz), %w(application/x-compress), 'Tar archive (compressed)'],
1210
+ 'application/x-tex-gf' => [%w(gf), %w(), 'generic font file'],
1211
+ 'application/x-tex-pk' => [%w(pk), %w(), 'packed font file'],
1212
+ 'application/x-tgif' => [%w(obj), %w(), 'TGIF document'],
1213
+ 'application/x-theme' => [%w(theme), %w(application/x-desktop), 'theme'],
1214
+ 'application/x-trash' => [%w(bak old sik), %w(), 'backup file'],
1215
+ 'application/x-trig' => [%w(trig), %w(text/plain), 'TriG RDF document'],
1216
+ 'application/x-troff-man' => [%w(man), %w(text/plain), 'Manpage manual document'],
1217
+ 'application/x-tzo' => [%w(tar.lzo tzo), %w(application/x-lzop), 'Tar archive (LZO-compressed)'],
1218
+ 'application/x-ufraw' => [%w(ufraw), %w(text/xml), 'UFRaw ID image'],
1219
+ 'application/x-ustar' => [%w(ustar), %w(), 'Ustar archive'],
1220
+ 'application/x-wais-source' => [%w(src), %w(text/plain), 'WAIS source code'],
1221
+ 'application/x-wii-rom' => [%w(iso), %w(), 'Wii disc image'],
1222
+ 'application/x-wii-wad' => [%w(wad), %w(), 'WiiWare bundle'],
1223
+ 'application/x-windows-themepack' => [%w(themepack), %w(application/vnd.ms-cab-compressed), 'Microsoft Windows theme pack'],
1224
+ 'application/x-wpg' => [%w(wpg), %w(), 'WordPerfect/Drawperfect image'],
1225
+ 'application/x-wwf' => [%w(wwf), %w(application/pdf), 'WWF document'],
1226
+ 'application/x-x509-ca-cert' => [%w(cert crt der pem), %w(), 'DER/PEM/Netscape-encoded X.509 certificate'],
1227
+ 'application/x-xar' => [%w(pkg xar), %w(), 'XAR archive'],
1228
+ 'application/x-xbel' => [%w(xbel), %w(application/xml), 'XBEL bookmarks'],
1229
+ 'application/x-xliff' => [%w(xlf xliff), %w(application/xml), 'XLIFF translation file'],
1230
+ 'application/x-xpinstall' => [%w(xpi), %w(application/zip), 'XPInstall installer module'],
1231
+ 'application/x-xz' => [%w(xz), %w(), 'XZ archive'],
1232
+ 'application/x-xz-compressed-tar' => [%w(tar.xz txz), %w(application/x-xz), 'Tar archive (XZ-compressed)'],
1233
+ 'application/x-xzpdf' => [%w(pdf.xz), %w(application/x-xz), 'PDF document (XZ-compressed)'],
1234
+ 'application/x-yaml' => [%w(yaml yml), %w(text/plain), 'YAML document'],
1235
+ 'application/x-zip-compressed-fb2' => [%w(fb2.zip), %w(application/zip), 'Compressed FictionBook document'],
1236
+ 'application/x-zoo' => [%w(zoo), %w(), 'Zoo archive'],
1237
+ 'application/xhtml+xml' => [%w(xht xhtml), %w(application/xml), 'XHTML page'],
1238
+ 'application/xml' => [%w(rng xbl xml xsd), %w(text/plain), 'XML document'],
1239
+ 'application/xml-dtd' => [%w(dtd), %w(text/plain), 'DTD file'],
1240
+ 'application/xml-external-parsed-entity' => [%w(ent), %w(application/xml), 'XML entities document'],
1241
+ 'application/xslt+xml' => [%w(xsl xslt), %w(application/xml), 'XSLT stylesheet'],
1242
+ 'application/xspf+xml' => [%w(xspf), %w(application/xml), 'XSPF playlist'],
1243
+ 'application/zip' => [%w(zip), %w(), 'Zip archive'],
1244
+ 'application/zlib' => [%w(zz), %w(), 'Zlib archive'],
1245
+ 'audio/AMR' => [%w(amr), %w(), 'AMR audio'],
1246
+ 'audio/AMR-WB' => [%w(awb), %w(), 'AMR-WB audio'],
1247
+ 'audio/aac' => [%w(aac), %w(), 'AAC audio'],
1248
+ 'audio/ac3' => [%w(ac3), %w(), 'Dolby Digital audio'],
1249
+ 'audio/annodex' => [%w(axa), %w(application/annodex), 'Annodex Audio'],
1250
+ 'audio/basic' => [%w(au snd), %w(), 'ULAW (Sun) audio'],
1251
+ 'audio/flac' => [%w(flac), %w(), 'FLAC audio'],
1252
+ 'audio/midi' => [%w(kar mid midi), %w(), 'MIDI audio'],
1253
+ 'audio/mp2' => [%w(mp2), %w(), 'MP2 audio'],
1254
+ 'audio/mp4' => [%w(f4a m4a), %w(), 'MPEG-4 audio'],
1255
+ 'audio/mpeg' => [%w(mp3 mpga), %w(), 'MP3 audio'],
1256
+ 'audio/ogg' => [%w(oga ogg opus), %w(application/ogg), 'Ogg Audio'],
1257
+ 'audio/prs.sid' => [%w(psid sid), %w(), 'Commodore 64 audio'],
1258
+ 'audio/vnd.dts' => [%w(dts), %w(), 'DTS audio'],
1259
+ 'audio/vnd.dts.hd' => [%w(dtshd), %w(audio/vnd.dts), 'DTSHD audio'],
1260
+ 'audio/vnd.rn-realaudio' => [%w(ra rax), %w(), 'RealAudio document'],
1261
+ 'audio/x-aifc' => [%w(aifc aiffc), %w(application/x-iff), 'AIFC audio'],
1262
+ 'audio/x-aiff' => [%w(aif aiff), %w(application/x-iff), 'AIFF/Amiga/Mac audio'],
1263
+ 'audio/x-amzxml' => [%w(amz), %w(), 'AmazonMP3 download file'],
1264
+ 'audio/x-ape' => [%w(ape), %w(), "Monkey's audio"],
1265
+ 'audio/x-flac+ogg' => [%w(oga ogg), %w(audio/ogg), 'Ogg FLAC audio'],
1266
+ 'audio/x-gsm' => [%w(gsm), %w(), 'GSM 06.10 audio'],
1267
+ 'audio/x-iriver-pla' => [%w(pla), %w(), 'iRiver Playlist'],
1268
+ 'audio/x-it' => [%w(it), %w(), 'Impulse Tracker audio'],
1269
+ 'audio/x-m4b' => [%w(f4b m4b), %w(audio/mp4), 'MPEG-4 audio book'],
1270
+ 'audio/x-matroska' => [%w(mka), %w(application/x-matroska), 'Matroska audio'],
1271
+ 'audio/x-minipsf' => [%w(minipsf), %w(audio/x-psf), 'MiniPSF audio'],
1272
+ 'audio/x-mo3' => [%w(mo3), %w(), 'compressed Tracker audio'],
1273
+ 'audio/x-mod' => [%w(669 m15 med mod mtm ult uni), %w(), 'Amiga SoundTracker audio'],
1274
+ 'audio/x-mpegurl' => [%w(m3u m3u8 vlc), %w(text/plain), 'MP3 audio (streamed)'],
1275
+ 'audio/x-ms-asx' => [%w(asx wax wmx wvx), %w(), 'Microsoft ASX playlist'],
1276
+ 'audio/x-ms-wma' => [%w(wma), %w(application/vnd.ms-asf), 'Windows Media audio'],
1277
+ 'audio/x-musepack' => [%w(mp+ mpc mpp), %w(), 'Musepack audio'],
1278
+ 'audio/x-opus+ogg' => [%w(opus), %w(audio/ogg), 'Opus audio'],
1279
+ 'audio/x-psf' => [%w(psf), %w(), 'PSF audio'],
1280
+ 'audio/x-psflib' => [%w(psflib), %w(audio/x-psf), 'PSFlib audio library'],
1281
+ 'audio/x-s3m' => [%w(s3m), %w(), 'Scream Tracker 3 audio'],
1282
+ 'audio/x-scpls' => [%w(pls), %w(), 'MP3 ShoutCast playlist'],
1283
+ 'audio/x-speex' => [%w(spx), %w(), 'Speex audio'],
1284
+ 'audio/x-speex+ogg' => [%w(oga ogg), %w(audio/ogg), 'Ogg Speex audio'],
1285
+ 'audio/x-stm' => [%w(stm), %w(), 'Scream Tracker audio'],
1286
+ 'audio/x-tta' => [%w(tta), %w(), 'TrueAudio audio'],
1287
+ 'audio/x-voc' => [%w(voc), %w(), 'VOC audio'],
1288
+ 'audio/x-vorbis+ogg' => [%w(oga ogg), %w(audio/ogg), 'Ogg Vorbis audio'],
1289
+ 'audio/x-wav' => [%w(wav), %w(), 'WAV audio'],
1290
+ 'audio/x-wavpack' => [%w(wv wvp), %w(), 'WavPack audio'],
1291
+ 'audio/x-wavpack-correction' => [%w(wvc), %w(), 'WavPack audio correction file'],
1292
+ 'audio/x-xi' => [%w(xi), %w(), 'Scream Tracker instrument'],
1293
+ 'audio/x-xm' => [%w(xm), %w(), 'FastTracker II audio'],
1294
+ 'audio/x-xmf' => [%w(xmf), %w(), 'XMF audio'],
1295
+ 'image/bmp' => [%w(bmp), %w(), 'Windows BMP image'],
1296
+ 'image/cgm' => [%w(cgm), %w(), 'Computer Graphics Metafile'],
1297
+ 'image/fax-g3' => [%w(g3), %w(), 'CCITT G3 fax'],
1298
+ 'image/fits' => [%w(fits), %w(), 'FITS document'],
1299
+ 'image/gif' => [%w(gif), %w(), 'GIF image'],
1300
+ 'image/ief' => [%w(ief), %w(), 'IEF image'],
1301
+ 'image/jp2' => [%w(jp2 jpf jpx), %w(), 'JPEG-2000 image'],
1302
+ 'image/jpeg' => [%w(jpe jpeg jpg), %w(), 'JPEG image'],
1303
+ 'image/openraster' => [%w(ora), %w(), 'OpenRaster archiving image'],
1304
+ 'image/png' => [%w(png), %w(), 'PNG image'],
1305
+ 'image/rle' => [%w(rle), %w(), 'Run Length Encoded bitmap image'],
1306
+ 'image/svg+xml' => [%w(svg), %w(application/xml), 'SVG image'],
1307
+ 'image/svg+xml-compressed' => [%w(svgz), %w(application/gzip), 'compressed SVG image'],
1308
+ 'image/tiff' => [%w(tif tiff), %w(), 'TIFF image'],
1309
+ 'image/vnd.adobe.photoshop' => [%w(psd), %w(), 'Photoshop image'],
1310
+ 'image/vnd.djvu' => [%w(djv djvu), %w(), 'DjVu image'],
1311
+ 'image/vnd.dwg' => [%w(dwg), %w(), 'AutoCAD image'],
1312
+ 'image/vnd.dxf' => [%w(dxf), %w(), 'DXF vector image'],
1313
+ 'image/vnd.microsoft.icon' => [%w(ico), %w(), 'Windows icon'],
1314
+ 'image/vnd.ms-modi' => [%w(mdi), %w(), 'Microsoft Document Imaging format'],
1315
+ 'image/vnd.rn-realpix' => [%w(rp), %w(), 'RealPix document'],
1316
+ 'image/vnd.wap.wbmp' => [%w(wbmp), %w(), 'WBMP image'],
1317
+ 'image/vnd.zbrush.pcx' => [%w(pcx), %w(), 'PCX image'],
1318
+ 'image/webp' => [%w(webp), %w(), 'WebP image'],
1319
+ 'image/x-3ds' => [%w(3ds), %w(), '3D Studio image'],
1320
+ 'image/x-adobe-dng' => [%w(dng), %w(image/tiff image/x-dcraw), 'Adobe DNG negative'],
1321
+ 'image/x-applix-graphics' => [%w(ag), %w(), 'Applix Graphics image'],
1322
+ 'image/x-bzeps' => [%w(eps.bz2 epsf.bz2 epsi.bz2), %w(application/x-bzip), 'EPS image (bzip-compressed)'],
1323
+ 'image/x-canon-cr2' => [%w(cr2), %w(image/tiff image/x-dcraw), 'Canon CR2 raw image'],
1324
+ 'image/x-canon-crw' => [%w(crw), %w(image/x-dcraw), 'Canon CRW raw image'],
1325
+ 'image/x-cmu-raster' => [%w(ras), %w(), 'CMU raster image'],
1326
+ 'image/x-compressed-xcf' => [%w(xcf.bz2 xcf.gz), %w(), 'compressed GIMP image'],
1327
+ 'image/x-dds' => [%w(dds), %w(), 'DirectDraw surface'],
1328
+ 'image/x-emf' => [%w(emf), %w(), 'EMF image'],
1329
+ 'image/x-eps' => [%w(eps epsf epsi), %w(application/postscript), 'EPS image'],
1330
+ 'image/x-exr' => [%w(exr), %w(), 'EXR image'],
1331
+ 'image/x-fuji-raf' => [%w(raf), %w(image/x-dcraw), 'Fuji RAF raw image'],
1332
+ 'image/x-gzeps' => [%w(eps.gz epsf.gz epsi.gz), %w(application/gzip), 'EPS image (gzip-compressed)'],
1333
+ 'image/x-icns' => [%w(icns), %w(), 'MacOS X icon'],
1334
+ 'image/x-ilbm' => [%w(iff ilbm lbm), %w(application/x-iff), 'ILBM image'],
1335
+ 'image/x-jng' => [%w(jng), %w(), 'JNG image'],
1336
+ 'image/x-kodak-dcr' => [%w(dcr), %w(image/tiff image/x-dcraw), 'Kodak DCR raw image'],
1337
+ 'image/x-kodak-k25' => [%w(k25), %w(image/tiff image/x-dcraw), 'Kodak K25 raw image'],
1338
+ 'image/x-kodak-kdc' => [%w(kdc), %w(image/tiff image/x-dcraw), 'Kodak KDC raw image'],
1339
+ 'image/x-lwo' => [%w(lwo lwob), %w(), 'LightWave object'],
1340
+ 'image/x-lws' => [%w(lws), %w(), 'LightWave scene'],
1341
+ 'image/x-macpaint' => [%w(pntg), %w(), 'MacPaint Bitmap image'],
1342
+ 'image/x-minolta-mrw' => [%w(mrw), %w(image/x-dcraw), 'Minolta MRW raw image'],
1343
+ 'image/x-msod' => [%w(msod), %w(), 'Office drawing'],
1344
+ 'image/x-nikon-nef' => [%w(nef), %w(image/tiff image/x-dcraw), 'Nikon NEF raw image'],
1345
+ 'image/x-olympus-orf' => [%w(orf), %w(image/x-dcraw), 'Olympus ORF raw image'],
1346
+ 'image/x-panasonic-raw' => [%w(raw), %w(image/x-dcraw), 'Panasonic raw image'],
1347
+ 'image/x-panasonic-raw2' => [%w(rw2), %w(image/x-dcraw), 'Panasonic raw2 image'],
1348
+ 'image/x-pentax-pef' => [%w(pef), %w(image/tiff image/x-dcraw), 'Pentax PEF raw image'],
1349
+ 'image/x-photo-cd' => [%w(pcd), %w(), 'PCD image'],
1350
+ 'image/x-pict' => [%w(pct pict pict1 pict2), %w(), 'Macintosh Quickdraw/PICT drawing'],
1351
+ 'image/x-portable-anymap' => [%w(pnm), %w(), 'PNM image'],
1352
+ 'image/x-portable-bitmap' => [%w(pbm), %w(image/x-portable-anymap), 'PBM image'],
1353
+ 'image/x-portable-graymap' => [%w(pgm), %w(image/x-portable-anymap), 'PGM image'],
1354
+ 'image/x-portable-pixmap' => [%w(ppm), %w(image/x-portable-anymap), 'PPM image'],
1355
+ 'image/x-quicktime' => [%w(qif qtif), %w(), 'QuickTime image'],
1356
+ 'image/x-rgb' => [%w(rgb), %w(), 'RGB image'],
1357
+ 'image/x-sgi' => [%w(sgi), %w(), 'SGI image'],
1358
+ 'image/x-sigma-x3f' => [%w(x3f), %w(image/x-dcraw), 'Sigma X3F raw image'],
1359
+ 'image/x-skencil' => [%w(sk sk1), %w(), 'Skencil document'],
1360
+ 'image/x-sony-arw' => [%w(arw), %w(image/tiff image/x-dcraw), 'Sony ARW raw image'],
1361
+ 'image/x-sony-sr2' => [%w(sr2), %w(image/tiff image/x-dcraw), 'Sony SR2 raw image'],
1362
+ 'image/x-sony-srf' => [%w(srf), %w(image/tiff image/x-dcraw), 'Sony SRF raw image'],
1363
+ 'image/x-sun-raster' => [%w(sun), %w(), 'Sun raster image'],
1364
+ 'image/x-tga' => [%w(icb tga tpic vda vst), %w(), 'TGA image'],
1365
+ 'image/x-win-bitmap' => [%w(cur), %w(), 'Windows cursor'],
1366
+ 'image/x-wmf' => [%w(wmf), %w(), 'WMF image'],
1367
+ 'image/x-xbitmap' => [%w(xbm), %w(), 'XBM image'],
1368
+ 'image/x-xcf' => [%w(xcf), %w(), 'GIMP image'],
1369
+ 'image/x-xfig' => [%w(fig), %w(), 'XFig image'],
1370
+ 'image/x-xpixmap' => [%w(xpm), %w(), 'XPM image'],
1371
+ 'image/x-xwindowdump' => [%w(xwd), %w(), 'X window image'],
1372
+ 'message/rfc822' => [%w(eml), %w(text/plain), 'email message'],
1373
+ 'model/vrml' => [%w(vrm vrml wrl), %w(text/plain), 'VRML document'],
1374
+ 'text/cache-manifest' => [%w(manifest), %w(text/plain), 'Web application cache manifest'],
1375
+ 'text/calendar' => [%w(ics vcs), %w(text/plain), 'VCS/ICS calendar'],
1376
+ 'text/css' => [%w(css), %w(text/plain), 'CSS stylesheet'],
1377
+ 'text/csv' => [%w(csv), %w(text/plain), 'CSV document'],
1378
+ 'text/csv-schema' => [%w(csvs), %w(text/plain), 'CSV Schema document'],
1379
+ 'text/html' => [%w(htm html), %w(text/plain), 'HTML document'],
1380
+ 'text/markdown' => [%w(markdown md mkd), %w(text/plain), 'Markdown document'],
1381
+ 'text/plain' => [%w(asc txt), %w(), 'plain text document'],
1382
+ 'text/richtext' => [%w(rtx), %w(text/plain), 'rich text document'],
1383
+ 'text/rust' => [%w(rs), %w(text/plain), 'Rust source code'],
1384
+ 'text/sgml' => [%w(sgm sgml), %w(text/plain), 'SGML document'],
1385
+ 'text/spreadsheet' => [%w(slk sylk), %w(text/plain), 'spreadsheet interchange document'],
1386
+ 'text/tab-separated-values' => [%w(tsv), %w(text/plain), 'TSV document'],
1387
+ 'text/troff' => [%w(roff t tr), %w(text/plain), 'Troff document'],
1388
+ 'text/turtle' => [%w(ttl), %w(text/plain), 'Turtle document'],
1389
+ 'text/vcard' => [%w(gcrd vcard vcf vct), %w(text/plain), 'electronic business card'],
1390
+ 'text/vnd.graphviz' => [%w(dot gv), %w(), 'Graphviz DOT graph'],
1391
+ 'text/vnd.rn-realtext' => [%w(rt), %w(), 'RealText document'],
1392
+ 'text/vnd.sun.j2me.app-descriptor' => [%w(jad), %w(), 'JAD document'],
1393
+ 'text/vnd.trolltech.linguist' => [%w(ts), %w(application/xml), 'message catalog'],
1394
+ 'text/vnd.wap.wml' => [%w(wml), %w(application/xml), 'WML document'],
1395
+ 'text/vnd.wap.wmlscript' => [%w(wmls), %w(), 'WMLScript program'],
1396
+ 'text/vtt' => [%w(vtt), %w(text/plain), 'WebVTT subtitles'],
1397
+ 'text/x-adasrc' => [%w(adb ads), %w(text/plain), 'Ada source code'],
1398
+ 'text/x-bibtex' => [%w(bib), %w(text/plain), 'BibTeX document'],
1399
+ 'text/x-c++hdr' => [%w(h++ hh hp hpp hxx), %w(text/x-chdr), 'C++ header'],
1400
+ 'text/x-c++src' => [%w(c c++ cc cpp cxx), %w(text/x-csrc), 'C++ source code'],
1401
+ 'text/x-chdr' => [%w(h), %w(text/x-csrc), 'C header'],
1402
+ 'text/x-cmake' => [%w(cmake), %w(text/plain), 'CMake source code'],
1403
+ 'text/x-cobol' => [%w(cbl cob), %w(text/plain), 'COBOL source file'],
1404
+ 'text/x-csharp' => [%w(cs), %w(text/x-csrc), 'C# source code'],
1405
+ 'text/x-csrc' => [%w(c), %w(text/plain), 'C source code'],
1406
+ 'text/x-dcl' => [%w(dcl), %w(text/plain), 'DCL script'],
1407
+ 'text/x-dsl' => [%w(dsl), %w(text/plain), 'DSSSL document'],
1408
+ 'text/x-dsrc' => [%w(d di), %w(text/x-csrc), 'D source code'],
1409
+ 'text/x-eiffel' => [%w(e eif), %w(text/plain), 'Eiffel source code'],
1410
+ 'text/x-emacs-lisp' => [%w(el), %w(text/plain), 'Emacs Lisp source code'],
1411
+ 'text/x-erlang' => [%w(erl), %w(text/plain), 'Erlang source code'],
1412
+ 'text/x-fortran' => [%w(f f90 f95 for), %w(text/plain), 'Fortran source code'],
1413
+ 'text/x-genie' => [%w(gs), %w(text/plain), 'Genie source code'],
1414
+ 'text/x-gettext-translation' => [%w(po), %w(text/plain), 'translation file'],
1415
+ 'text/x-gettext-translation-template' => [%w(pot), %w(text/plain), 'translation template'],
1416
+ 'text/x-go' => [%w(go), %w(text/plain), 'Go source code'],
1417
+ 'text/x-google-video-pointer' => [%w(gvp), %w(), 'Google Video Pointer'],
1418
+ 'text/x-haskell' => [%w(hs), %w(text/plain), 'Haskell source code'],
1419
+ 'text/x-iMelody' => [%w(ime imy), %w(), 'iMelody ringtone'],
1420
+ 'text/x-idl' => [%w(idl), %w(text/plain), 'IDL document'],
1421
+ 'text/x-iptables' => [%w(iptables), %w(text/plain), 'iptables configuration file'],
1422
+ 'text/x-java' => [%w(java), %w(text/x-csrc), 'Java source code'],
1423
+ 'text/x-ldif' => [%w(ldif), %w(text/plain), 'LDIF address book'],
1424
+ 'text/x-lilypond' => [%w(ly), %w(text/plain), 'Lilypond music sheet'],
1425
+ 'text/x-literate-haskell' => [%w(lhs), %w(text/plain), 'LHS source code'],
1426
+ 'text/x-log' => [%w(log), %w(text/plain), 'application log'],
1427
+ 'text/x-lua' => [%w(lua), %w(application/x-executable text/plain), 'Lua script'],
1428
+ 'text/x-makefile' => [%w(mak mk), %w(text/plain), 'Makefile'],
1429
+ 'text/x-matlab' => [%w(m), %w(text/plain), 'MATLAB script/function'],
1430
+ 'text/x-microdvd' => [%w(sub), %w(text/plain), 'MicroDVD subtitles'],
1431
+ 'text/x-moc' => [%w(moc), %w(text/plain), 'Qt MOC file'],
1432
+ 'text/x-modelica' => [%w(mo), %w(text/plain), 'Modelica model'],
1433
+ 'text/x-mof' => [%w(mof), %w(text/x-csrc), 'Managed Object Format'],
1434
+ 'text/x-mpsub' => [%w(sub), %w(text/plain), 'MPSub subtitles'],
1435
+ 'text/x-mrml' => [%w(mrl mrml), %w(), 'MRML playlist'],
1436
+ 'text/x-ms-regedit' => [%w(reg), %w(text/plain), 'Windows Registry extract'],
1437
+ 'text/x-mup' => [%w(mup not), %w(text/plain), 'Mup publication'],
1438
+ 'text/x-nfo' => [%w(nfo), %w(text/x-readme), 'NFO document'],
1439
+ 'text/x-objcsrc' => [%w(m), %w(text/x-csrc), 'Objective-C source code'],
1440
+ 'text/x-ocaml' => [%w(ml mli), %w(), 'OCaml source code'],
1441
+ 'text/x-ocl' => [%w(ocl), %w(text/plain), 'OCL file'],
1442
+ 'text/x-ooc' => [%w(ooc), %w(text/x-csrc), 'OOC source code'],
1443
+ 'text/x-opml+xml' => [%w(opml), %w(application/xml), 'OPML syndication feed'],
1444
+ 'text/x-pascal' => [%w(p pas), %w(text/plain), 'Pascal source code'],
1445
+ 'text/x-patch' => [%w(diff patch), %w(text/plain), 'differences between files'],
1446
+ 'text/x-python' => [%w(py pyx wsgi), %w(application/x-executable text/plain), 'Python script'],
1447
+ 'text/x-qml' => [%w(qml qmlproject qmltypes), %w(), 'Qt Markup Language file'],
1448
+ 'text/x-reject' => [%w(rej), %w(text/plain), 'rejected patch'],
1449
+ 'text/x-rpm-spec' => [%w(spec), %w(text/plain), 'RPM spec file'],
1450
+ 'text/x-scala' => [%w(scala), %w(text/plain), 'Scala source code'],
1451
+ 'text/x-scheme' => [%w(scm ss), %w(text/plain), 'Scheme source code'],
1452
+ 'text/x-setext' => [%w(etx), %w(text/plain), 'Setext document'],
1453
+ 'text/x-ssa' => [%w(ass ssa), %w(text/plain), 'SSA subtitles'],
1454
+ 'text/x-subviewer' => [%w(sub), %w(text/plain), 'SubViewer subtitles'],
1455
+ 'text/x-svhdr' => [%w(svh), %w(text/x-verilog), 'SystemVerilog header'],
1456
+ 'text/x-svsrc' => [%w(sv), %w(text/x-verilog), 'SystemVerilog source code'],
1457
+ 'text/x-tcl' => [%w(tcl tk), %w(text/plain), 'Tcl script'],
1458
+ 'text/x-tex' => [%w(cls dtx ins latex ltx sty tex), %w(text/plain), 'TeX document'],
1459
+ 'text/x-texinfo' => [%w(texi texinfo), %w(text/plain), 'TeXInfo document'],
1460
+ 'text/x-troff-me' => [%w(me), %w(text/plain), 'Troff ME input document'],
1461
+ 'text/x-troff-mm' => [%w(mm), %w(text/plain), 'Troff MM input document'],
1462
+ 'text/x-troff-ms' => [%w(ms), %w(text/plain), 'Troff MS input document'],
1463
+ 'text/x-txt2tags' => [%w(t2t), %w(text/plain), 'txt2tags document'],
1464
+ 'text/x-uil' => [%w(uil), %w(text/plain), 'X-Motif UIL table'],
1465
+ 'text/x-uuencode' => [%w(uue), %w(text/plain), 'uuencoded file'],
1466
+ 'text/x-vala' => [%w(vala vapi), %w(text/x-csrc), 'Vala source code'],
1467
+ 'text/x-verilog' => [%w(v), %w(text/plain), 'Verilog source code'],
1468
+ 'text/x-vhdl' => [%w(vhd vhdl), %w(text/plain), 'VHDL source code'],
1469
+ 'text/x-xmi' => [%w(xmi), %w(application/xml), 'XMI file'],
1470
+ 'text/x-xslfo' => [%w(fo xslfo), %w(application/xml), 'XSL FO file'],
1471
+ 'video/3gpp' => [%w(3ga 3gp 3gpp), %w(video/mp4), '3GPP multimedia file'],
1472
+ 'video/3gpp2' => [%w(3g2 3gp2 3gpp2), %w(video/mp4), '3GPP2 multimedia file'],
1473
+ 'video/annodex' => [%w(axv), %w(application/annodex), 'Annodex Video'],
1474
+ 'video/dv' => [%w(dv), %w(), 'DV video'],
1475
+ 'video/mp2t' => [%w(bdm bdmv clpi cpi m2t m2ts mpl mpls mts ts), %w(), 'MPEG-2 transport stream'],
1476
+ 'video/mp4' => [%w(f4v lrv m4v mp4), %w(), 'MPEG-4 video'],
1477
+ 'video/mpeg' => [%w(mp2 mpe mpeg mpg vob), %w(), 'MPEG video'],
1478
+ 'video/ogg' => [%w(ogg ogv), %w(application/ogg), 'Ogg Video'],
1479
+ 'video/quicktime' => [%w(moov mov qt qtvr), %w(), 'QuickTime video'],
1480
+ 'video/vnd.mpegurl' => [%w(m1u m4u mxu), %w(text/plain), 'MPEG video (streamed)'],
1481
+ 'video/vnd.rn-realvideo' => [%w(rv rvx), %w(), 'RealVideo document'],
1482
+ 'video/vnd.vivo' => [%w(viv vivo), %w(), 'Vivo video'],
1483
+ 'video/webm' => [%w(webm), %w(), 'WebM video'],
1484
+ 'video/x-flic' => [%w(flc fli), %w(), 'FLIC animation'],
1485
+ 'video/x-flv' => [%w(flv), %w(), 'Flash video'],
1486
+ 'video/x-javafx' => [%w(fxm), %w(video/x-flv), 'JavaFX video'],
1487
+ 'video/x-matroska' => [%w(mkv), %w(application/x-matroska), 'Matroska video'],
1488
+ 'video/x-matroska-3d' => [%w(mk3d), %w(application/x-matroska), 'Matroska 3D video'],
1489
+ 'video/x-mng' => [%w(mng), %w(), 'MNG animation'],
1490
+ 'video/x-ms-wmv' => [%w(wmv), %w(application/vnd.ms-asf), 'Windows Media video'],
1491
+ 'video/x-msvideo' => [%w(avf avi divx), %w(), 'AVI video'],
1492
+ 'video/x-nsv' => [%w(nsv), %w(), 'NullSoft video'],
1493
+ 'video/x-ogm+ogg' => [%w(ogm), %w(video/ogg), 'OGM video'],
1494
+ 'video/x-sgi-movie' => [%w(movie), %w(), 'SGI video'],
1495
+ 'video/x-theora+ogg' => [%w(ogg), %w(video/ogg), 'Ogg Theora video'],
1496
+ 'x-epoc/x-sisx-app' => [%w(sisx), %w(), 'SISX package'],
1497
+ }
1498
+ # @private
1499
+ # :nodoc:
1500
+ MAGIC = [
1501
+ ['image/jpeg', [[0, "\377\330\377"], [0, "\377\330"]]],
1502
+ ['image/png', [[0, "\211PNG"]]],
1503
+ ['image/gif', [[0, 'GIF8']]],
1504
+ ['image/tiff', [[0, "MM\000*"], [0, "II*\000"]]],
1505
+ ['image/bmp', [[0, 'BM', [[14, "\f"], [14, '@'], [14, '(']]]]],
1506
+ ['image/vnd.adobe.photoshop', []],
1507
+ ['image/webp', [[0, 'RIFF', [[8, 'WEBP']]]]],
1508
+ ['image/svg+xml', [[0..256, '<!DOCTYPE svg'], [0..256, '<svg']]],
1509
+ ['video/x-msvideo', [[0, 'RIFF', [[8, 'AVI ']]], [0, 'AVF0', [[8, 'AVI ']]]]],
1510
+ ['video/mp4', [[4, 'ftypisom'], [4, 'ftypmp42'], [4, 'ftypMSNV'], [4, 'ftypM4V '], [4, 'ftypf4v ']]],
1511
+ ['video/quicktime', [[12, 'mdat'], [4, 'mdat'], [4, 'moov'], [4, 'ftypqt']]],
1512
+ ['video/mpeg', [[0, "G?\377\020"], [0, "\000\000\001\263"], [0, "\000\000\001\272"]]],
1513
+ ['video/ogg', [[0, 'OggS']]],
1514
+ ['video/webm', [[0, "\032E\337\243", [[5..65, "B\202", [[8..75, 'webm']]]]]]],
1515
+ ['video/x-flv', [[0, 'FLV']]],
1516
+ ['audio/mpeg', [[0, "\377\373"], [0, 'ID3']]],
1517
+ ['audio/x-wav', [[8, 'WAVE'], [8, 'WAV ']]],
1518
+ ['audio/aac', [[0, 'ADIF']]],
1519
+ ['audio/flac', [[0, 'fLaC']]],
1520
+ ['audio/mp4', [[4, 'ftypM4A']]],
1521
+ ['audio/ogg', [[0, 'OggS']]],
1522
+ ['application/pdf', [[0..1024, '%PDF-']]],
1523
+ ['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']]],
1524
+ ['application/vnd.ms-excel', [[2080, 'Microsoft Excel 5.0 Worksheet']]],
1525
+ ['application/vnd.stardivision.writer', [[2089, 'StarWriter']]],
1526
+ ['application/x-docbook+xml', [[0, '<?xml', [[0..100, '-//OASIS//DTD DocBook XML'], [0..100, '-//KDE//DTD DocBook XML']]]]],
1527
+ ['image/x-eps', [[0, '%!', [[15, 'EPS']]], [0, "\004%!", [[16, 'EPS']]], [0, "\305\320\323\306"]]],
1528
+ ['application/prs.plucker', [[60, 'DataPlkr']]],
1529
+ ['application/vnd.corel-draw', []],
1530
+ ['application/x-fictionbook+xml', [[0..256, '<FictionBook']]],
1531
+ ['application/x-mobipocket-ebook', [[60, 'BOOKMOBI']]],
1532
+ ['application/x-mozilla-bookmarks', [[0..64, '<!DOCTYPE NETSCAPE-Bookmark-file-1>']]],
1533
+ ['application/x-nzb', [[0..256, '<nzb']]],
1534
+ ['application/x-pak', [[0, 'PACK']]],
1535
+ ['application/x-php', [[0..64, '<?php']]],
1536
+ ['application/x-xliff', [[0..256, '<xliff']]],
1537
+ ['application/x-zip-compressed-fb2', [[0, "PK\003\004", [[30..256, '.fb2']]]]],
1538
+ ['audio/x-flac+ogg', [[0, 'OggS', [[28, 'fLaC']]], [0, 'OggS', [[28, "\177FLAC"]]]]],
1539
+ ['audio/x-opus+ogg', [[0, 'OggS', [[28, 'OpusHead']]]]],
1540
+ ['audio/x-speex+ogg', [[0, 'OggS', [[28, 'Speex ']]]]],
1541
+ ['audio/x-vorbis+ogg', [[0, 'OggS', [[28, "\001vorbis"]]]]],
1542
+ ['image/x-kodak-kdc', [[242, 'EASTMAN KODAK COMPANY']]],
1543
+ ['image/x-niff', [[0, 'IIN1']]],
1544
+ ['text/x-qml', [[0..256, 'import Qt ']]],
1545
+ ['video/x-ogm+ogg', [[0, 'OggS', [[29, 'video']]]]],
1546
+ ['video/x-theora+ogg', [[0, 'OggS', [[28, "\200theora"]]]]],
1547
+ ['application/atom+xml', [[0..256, '<feed ']]],
1548
+ ['application/rss+xml', [[0..256, '<rss '], [0..256, '<RSS ']]],
1549
+ ['application/vnd.apple.mpegurl', [[0, '#EXTM3U', [[0..128, '#EXT-X-TARGETDURATION'], [0..128, '#EXT-X-STREAM-INF']]]]],
1550
+ ['text/x-opml+xml', [[0..256, '<opml ']]],
1551
+ ['application/vnd.ms-cab-compressed', [[0, "MSCF\000\000\000\000"]]],
1552
+ ['application/vnd.ms-wpl', [[0..256, '<?wpl']]],
1553
+ ['application/x-7z-compressed', [[0, "7z\274\257'\034"]]],
1554
+ ['application/x-ace', [[7, '**ACE**']]],
1555
+ ['application/x-arc', []],
1556
+ ['application/x-cpio', [[0, "\307q"], [0, '070701'], [0, '070702'], [0, "q\307"]]],
1557
+ ['application/x-font-type1', [[0, 'LWFN'], [65, 'LWFN'], [0, '%!PS-AdobeFont-1.'], [6, '%!PS-AdobeFont-1.'], [0, '%!FontType1-1.'], [6, '%!FontType1-1.']]],
1558
+ ['application/x-java-pack200', [[0, "\312\376\320\r"]]],
1559
+ ['application/x-karbon', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-karbon\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-karbon']]]]]]],
1560
+ ['application/x-kchart', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kchart\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kchart']]]]]]],
1561
+ ['application/x-kformula', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kformula\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kformula']]]]]]],
1562
+ ['application/x-killustrator', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-killustrator\004\006"]]]]]]],
1563
+ ['application/x-kivio', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kivio\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kivio']]]]]]],
1564
+ ['application/x-kontour', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kontour\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kontour']]]]]]],
1565
+ ['application/x-kpresenter', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kpresenter\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kpresenter']]]]]]],
1566
+ ['application/x-krita', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-krita\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-krita']]]]]]],
1567
+ ['application/x-kspread', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kspread\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kspread']]]]]]],
1568
+ ['application/x-kword', [[0, "\037\213", [[10, 'KOffice', [[18, "application/x-kword\004\006"]]]]], [0, "PK\003\004", [[30, 'mimetype', [[38, 'application/x-kword']]]]]]],
1569
+ ['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-']]],
1570
+ ['application/x-lrzip', [[0, 'LRZI']]],
1571
+ ['application/x-lz4', [[0, "\004\"M\030"], [0, "\002!L\030"]]],
1572
+ ['application/x-lzip', [[0, 'LZIP']]],
1573
+ ['application/x-lzop', [[0, "\211LZO\000\r\n\032\n"]]],
1574
+ ['application/x-par2', [[0, 'PAR2']]],
1575
+ ['application/x-qpress', [[0, 'qpress10']]],
1576
+ ['application/x-quicktime-media-link', [[0, '<?xml', [[0..64, '<?quicktime']]], [0, 'RTSPtext'], [0, 'rtsptext'], [0, 'SMILtext']]],
1577
+ ['application/x-rar', [[0, 'Rar!']]],
1578
+ ['application/x-stuffit', [[0, 'StuffIt '], [0, 'SIT!']]],
1579
+ ['application/x-tar', [[257, "ustar\000"], [257, "ustar \000"]]],
1580
+ ['application/x-xar', [[0, 'xar!']]],
1581
+ ['application/x-xz', [[0, "\3757zXZ\000"]]],
1582
+ ['application/x-zoo', [[20, "\334\247\304\375"]]],
1583
+ ['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"]]],
1584
+ ['audio/vnd.dts.hd', [[0..18725, 'dX %']]],
1585
+ ['text/x-txt2tags', [[0, '%!postproc'], [0, '%!encoding']]],
1586
+ ['application/smil+xml', [[0..256, '<smil']]],
1587
+ ['audio/x-ms-asx', [[0, 'ASF '], [0..64, '<ASX'], [0..64, '<asx'], [0..64, '<Asx']]],
1588
+ ['application/annodex', [[0, 'OggS', [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
1589
+ ['application/dicom', [[128, 'DICM']]],
1590
+ ['application/epub+zip', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/epub+zip'], [43, 'application/epub+zip']]]]]]],
1591
+ ['application/font-woff', [[0, 'wOFF']]],
1592
+ ['application/gnunet-directory', [[0, "\211GND\r\n\032\n"]]],
1593
+ ['application/gzip', [[0, "\037\213"]]],
1594
+ ['application/mac-binhex40', [[11, 'must be converted with BinHex']]],
1595
+ ['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']]],
1596
+ ['application/metalink+xml', [[0..256, "<metalink version=\"3.0\""]]],
1597
+ ['application/metalink4+xml', [[0..256, "<metalink xmlns=\"urn"]]],
1598
+ ['application/mxf', [[0..256, "\006\016+4\002\005\001\001\r\001\002\001\001\002"]]],
1599
+ ['application/ogg', [[0, 'OggS']]],
1600
+ ['application/owl+xml', [[0..256, '<Ontology']]],
1601
+ ['application/pgp-encrypted', [[0, '-----BEGIN PGP MESSAGE-----']]],
1602
+ ['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"]]],
1603
+ ['application/pgp-signature', [[0, '-----BEGIN PGP SIGNATURE-----']]],
1604
+ ['application/postscript', [[0, "\004%!"], [0, '%!']]],
1605
+ ['application/rtf', [[0, "{\\rtf"]]],
1606
+ ['application/sdp', [[0, 'v=', [[0..256, 's=']]]]],
1607
+ ['application/vnd.adobe.flash.movie', [[0, 'FWS'], [0, 'CWS']]],
1608
+ ['application/vnd.debian.binary-package', [[0, '!<arch>', [[8, 'debian']]]]],
1609
+ ['application/vnd.emusic-emusic_package', [[0, 'nF7YLao']]],
1610
+ ['application/vnd.iccprofile', [[36, 'acsp']]],
1611
+ ['application/vnd.lotus-1-2-3', [[0, "\000\000\002\000\006\004\006\000\b\000\000\000\000\000"]]],
1612
+ ['application/vnd.lotus-wordpro', [[0, 'WordPro']]],
1613
+ ['application/vnd.ms-access', [[0, "\000\001\000\000Standard Jet DB"]]],
1614
+ ['application/vnd.ms-asf', [[0, "0&\262u"], [0, '[Reference]']]],
1615
+ ['application/vnd.ms-tnef', [[0, "x\237>\""]]],
1616
+ ['application/vnd.oasis.opendocument.chart', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.chart']]]]]]],
1617
+ ['application/vnd.oasis.opendocument.chart-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.chart-template']]]]]]],
1618
+ ['application/vnd.oasis.opendocument.database', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.base']]]]]]],
1619
+ ['application/vnd.oasis.opendocument.formula', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.formula']]]]]]],
1620
+ ['application/vnd.oasis.opendocument.formula-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.formula-template']]]]]]],
1621
+ ['application/vnd.oasis.opendocument.graphics', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.graphics']]]]]]],
1622
+ ['application/vnd.oasis.opendocument.graphics-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.graphics-template']]]]]]],
1623
+ ['application/vnd.oasis.opendocument.image', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.image']]]]]]],
1624
+ ['application/vnd.oasis.opendocument.presentation', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.presentation']]]]]]],
1625
+ ['application/vnd.oasis.opendocument.presentation-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.presentation-template']]]]]]],
1626
+ ['application/vnd.oasis.opendocument.spreadsheet', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.spreadsheet']]]]]]],
1627
+ ['application/vnd.oasis.opendocument.spreadsheet-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.spreadsheet-template']]]]]]],
1628
+ ['application/vnd.oasis.opendocument.text', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text']]]]]]],
1629
+ ['application/vnd.oasis.opendocument.text-master', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text-master']]]]]]],
1630
+ ['application/vnd.oasis.opendocument.text-template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text-template']]]]]]],
1631
+ ['application/vnd.oasis.opendocument.text-web', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.oasis.opendocument.text-web']]]]]]],
1632
+ ['application/vnd.rn-realmedia', [[0, '.RMF']]],
1633
+ ['application/vnd.sun.xml.calc', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.calc']]]]]]],
1634
+ ['application/vnd.sun.xml.calc.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.calc']]]]]]],
1635
+ ['application/vnd.sun.xml.draw', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.draw']]]]]]],
1636
+ ['application/vnd.sun.xml.draw.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.draw']]]]]]],
1637
+ ['application/vnd.sun.xml.impress', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.impress']]]]]]],
1638
+ ['application/vnd.sun.xml.impress.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.impress']]]]]]],
1639
+ ['application/vnd.sun.xml.math', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.math']]]]]]],
1640
+ ['application/vnd.sun.xml.writer', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.writer']]]]]]],
1641
+ ['application/vnd.sun.xml.writer.global', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.writer']]]]]]],
1642
+ ['application/vnd.sun.xml.writer.template', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'application/vnd.sun.xml.writer']]]]]]],
1643
+ ['application/vnd.symbian.install', [[8, "\031\004\000\020"]]],
1644
+ ['application/vnd.tcpdump.pcap', [[0, "\324\303\262\241"], [0, "\241\262\303\324"]]],
1645
+ ['application/vnd.wordperfect', [[1, 'WPC']]],
1646
+ ['application/vnd.xdgapp', [[0, "xdg-app\000\001\000\211\345"]]],
1647
+ ['application/winhlp', [[0, "?_\003\000"]]],
1648
+ ['application/x-abiword', [[0..256, '<abiword'], [0..256, '<!DOCTYPE abiword']]],
1649
+ ['application/x-alz', [[0, 'ALZ']]],
1650
+ ['application/x-amiga-disk-format', [[0, "DOS\000"]]],
1651
+ ['application/x-aportisdoc', [[60, 'TEXtREAd'], [60, 'TEXtTlDc']]],
1652
+ ['application/x-applix-spreadsheet', [[0, '*BEGIN SPREADSHEETS'], [0, '*BEGIN', [[7, 'SPREADSHEETS']]]]],
1653
+ ['application/x-applix-word', [[0, '*BEGIN', [[7, 'WORDS']]]]],
1654
+ ['application/x-arj', [[0, "`\352"]]],
1655
+ ['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']]],
1656
+ ['application/x-bittorrent', [[0, 'd8:announce']]],
1657
+ ['application/x-blender', [[0, 'BLENDER']]],
1658
+ ['application/x-bzip', [[0, 'BZh']]],
1659
+ ['application/x-ccmx', [[0, 'CCMX']]],
1660
+ ['application/x-cdrdao-toc', [[0, "CD_ROM\n"], [0, "CD_DA\n"], [0, "CD_ROM_XA\n"], [0, 'CD_TEXT '], [0, "CATALOG \"", [[22, "\""]]]]],
1661
+ ['application/x-chess-pgn', [[0, '[Event ']]],
1662
+ ['application/x-cisco-vpn-settings', [[0, '[main]', [[0..256, 'AuthType=']]]]],
1663
+ ['application/x-compress', [[0, "\037\235"]]],
1664
+ ['application/x-core', [[0, "\177ELF", [[5, "\001", [[16, "\004\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\004"]]]]], [0, "Core\001"], [0, "Core\002"]]],
1665
+ ['application/x-csh', [[2..16, '/bin/tcsh'], [2..16, '/bin/csh'], [2..16, '/bin/env csh'], [2..16, '/bin/env tcsh']]],
1666
+ ['application/x-dar', [[0, "\000\000\000{"]]],
1667
+ ['application/x-designer', [[0..256, '<ui '], [0..256, '<UI ']]],
1668
+ ['application/x-desktop', [[0..32, '[Desktop Entry]'], [0, '[Desktop Action'], [0, '[KDE Desktop Entry]'], [0, '# Config File'], [0, '# KDE Config File']]],
1669
+ ['application/x-dia-diagram', [[5..100, '<dia:']]],
1670
+ ['application/x-dia-shape', [[5..100, '<shape']]],
1671
+ ['application/x-doom-wad', [[0, 'IWAD'], [0, 'PWAD']]],
1672
+ ['application/x-dvi', [[0, "\367\002"]]],
1673
+ ['application/x-fluid', [[0, '# data file for the Fltk']]],
1674
+ ['application/x-font-bdf', [[0, 'STARTFONT ']]],
1675
+ ['application/x-font-dos', [[0, "\377FON"], [7, "\000EGA"], [7, "\000VID"]]],
1676
+ ['application/x-font-framemaker', [[0, '<MakerScreenFont']]],
1677
+ ['application/x-font-libgrx', [[0, "\024\002Y\031"]]],
1678
+ ['application/x-font-linux-psf', [[0, "6\004"]]],
1679
+ ['application/x-font-otf', [[0, 'OTTO']]],
1680
+ ['application/x-font-pcf', [[0, "\001fcp"]]],
1681
+ ['application/x-font-speedo', [[0, "D1.0\r"]]],
1682
+ ['application/x-font-sunos-news', [[0, 'StartFont'], [0, "\023z)"], [8, "\023z+"]]],
1683
+ ['application/x-font-tex', [[0, "\367\203"], [0, "\367Y"], [0, "\367\312"]]],
1684
+ ['application/x-font-tex-tfm', [[2, "\000\021"], [2, "\000\022"]]],
1685
+ ['application/x-font-ttf', [[0, 'FFIL'], [65, 'FFIL'], [0, "\000\001\000\000\000"]]],
1686
+ ['application/x-font-ttx', [[0..256, "<ttFont sfntVersion=\"\\000\\001\\000\\000\" ttLibVersion=\""]]],
1687
+ ['application/x-font-vfont', [[0, 'FONT']]],
1688
+ ['application/x-frame', [[0, '<MakerFile'], [0, '<MIFFile'], [0, '<MakerDictionary'], [0, '<MakerScreenFon'], [0, '<MML'], [0, '<Book'], [0, '<Maker']]],
1689
+ ['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"]]],
1690
+ ['application/x-gamecube-rom', [[28, "\3023\237="]]],
1691
+ ['application/x-gdbm', [[0, "\023W\232\316"], [0, "\316\232W\023"], [0, 'GDBM']]],
1692
+ ['application/x-gedcom', [[0, '0 HEAD']]],
1693
+ ['application/x-genesis-rom', [[256, 'SEGA'], [640, 'EAGN'], [640, 'EAMG']]],
1694
+ ['application/x-gettext-translation', [[0, "\336\022\004\225"], [0, "\225\004\022\336"]]],
1695
+ ['application/x-glade', [[0..256, '<glade-interface']]],
1696
+ ['application/x-gnumeric', [[0..64, 'gmr:Workbook'], [0..64, 'gnm:Workbook']]],
1697
+ ['application/x-go-sgf', [[0, '(;FF[3]'], [0, '(;FF[4]']]],
1698
+ ['application/x-gtk-builder', [[0..256, '<interface']]],
1699
+ ['application/x-gtktalog', [[4, 'gtktalog ']]],
1700
+ ['application/x-hdf', [[0, "\211HDF\r\n\032\n"], [0, "\016\003\023\001"]]],
1701
+ ['application/x-hwp', [[0, 'HWP Document File']]],
1702
+ ['application/x-ipod-firmware', [[0, 'S T O P']]],
1703
+ ['application/x-it87', [[0, 'IT8.7']]],
1704
+ ['application/x-iwork-keynote-sffkey', [[0, "PK\003\004", [[30, 'index.apxl']]]]],
1705
+ ['application/x-java', [[0, "\312\376\272\276"]]],
1706
+ ['application/x-java-jce-keystore', [[0, "\316\316\316\316"]]],
1707
+ ['application/x-java-jnlp-file', [[0..256, '<jnlp']]],
1708
+ ['application/x-java-keystore', [[0, "\355\376\355\376"]]],
1709
+ ['application/x-kspread-crypt', [[0, "\r\032'\002"]]],
1710
+ ['application/x-ksysv-package', [[4, 'KSysV', [[15, "\001"]]]]],
1711
+ ['application/x-kword-crypt', [[0, "\r\032'\001"]]],
1712
+ ['application/x-lyx', [[0, '#LyX']]],
1713
+ ['application/x-macbinary', [[102, 'mBIN']]],
1714
+ ['application/x-matroska', [[0, "\032E\337\243", [[5..65, "B\202", [[8..75, 'matroska']]]]]]],
1715
+ ['application/x-ms-dos-executable', [[0, 'MZ']]],
1716
+ ['application/x-ms-wim', [[0, "MSWIM\000\000\000"]]],
1717
+ ['application/x-mswinurl', [[1, 'InternetShortcut'], [1, 'DEFAULT', [[11, 'BASEURL=']]]]],
1718
+ ['application/x-n64-rom', [[0, "\2007\022@"], [0, "7\200@\022"], [0, "@\0227\200"]]],
1719
+ ['application/x-nautilus-link', [[0..32, '<nautilus_object nautilus_link']]],
1720
+ ['application/x-navi-animation', [[0, 'RIFF', [[8, 'ACON']]]]],
1721
+ ['application/x-netshow-channel', [[0, '[Address]']]],
1722
+ ['application/x-object', [[0, "\177ELF", [[5, "\001", [[16, "\001\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\001"]]]]]]],
1723
+ ['application/x-ole-storage', [[0, "\320\317\021\340\241\261\032\341"], [0, "\320\317\021\340"]]],
1724
+ ['application/x-oleo', [[31, 'Oleo']]],
1725
+ ['application/x-pef-executable', [[0, 'Joy!']]],
1726
+ ['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 {']]],
1727
+ ['application/x-pocket-word', [[0, "{\\pwi"]]],
1728
+ ['application/x-python-bytecode', [[0, "\231N\r\n"]]],
1729
+ ['application/x-qtiplot', [[0, 'QtiPlot']]],
1730
+ ['application/x-rpm', [[0, "\355\253\356\333"]]],
1731
+ ['application/x-ruby', [[2..16, '/bin/env ruby'], [2..16, '/bin/ruby']]],
1732
+ ['application/x-sami', [[0..256, '<SAMI>']]],
1733
+ ['application/x-saturn-rom', [[0, 'SEGA SEGASATURN'], [16, 'SEGA SEGASATURN']]],
1734
+ ['application/x-sc', [[38, 'Spreadsheet']]],
1735
+ ['application/x-sharedlib', [[0, "\177ELF", [[5, "\001", [[16, "\003\000"]]]]], [0, "\177ELF", [[5, "\002", [[16, "\000\003"]]]]], [0, "\203\001"]]],
1736
+ ['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']]],
1737
+ ['application/x-shorten', [[0, 'ajkg']]],
1738
+ ['application/x-smaf', [[0, 'MMMD']]],
1739
+ ['application/x-spss-por', [[40, 'ASCII SPSS PORT FILE']]],
1740
+ ['application/x-spss-sav', [[0, '$FL2'], [0, '$FL3']]],
1741
+ ['application/x-sqlite2', [[0, '** This file contains an SQLite']]],
1742
+ ['application/x-sqlite3', [[0, 'SQLite format 3']]],
1743
+ ['application/x-subrip', [[0, '1', [[0..256, ' --> ']]]]],
1744
+ ['application/x-t602', [[0, '@CT 0'], [0, '@CT 1'], [0, '@CT 2']]],
1745
+ ['application/x-tgif', [[0, '%TGIF']]],
1746
+ ['application/x-wii-rom', [[24, "]\034\236\243"], [0, 'WBFS'], [0, "WII\001DISC"]]],
1747
+ ['application/x-wii-wad', [[4, "Is\000\000"], [4, "ib\000\000"], [4, "Bk\000\000"]]],
1748
+ ['application/x-xbel', [[0..256, '<!DOCTYPE xbel']]],
1749
+ ['application/x-yaml', [[0, '%YAML']]],
1750
+ ['application/xslt+xml', [[0..256, '<xsl:stylesheet']]],
1751
+ ['application/xspf+xml', [[0..64, "<playlist version=\"1"], [0..64, "<playlist version='1"]]],
1752
+ ['audio/AMR', [[0, "#!AMR\n"], [0, "#!AMR_MC1.0\n"]]],
1753
+ ['audio/AMR-WB', [[0, "#!AMR-WB\n"], [0, "#!AMR-WB_MC1.0\n"]]],
1754
+ ['audio/ac3', [[0, "\vw"]]],
1755
+ ['audio/annodex', [[0, 'OggS', [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
1756
+ ['audio/midi', [[0, 'MThd']]],
1757
+ ['audio/prs.sid', [[0, 'PSID']]],
1758
+ ['audio/vnd.dts', [[0, "\177\376\200\001"], [0, "\200\001\177\376"], [0, "\037\377\350\000"], [0, "\350\000\037\377"]]],
1759
+ ['audio/x-adpcm', [[0, '.snd', [[12, "\000\000\000\027"]]], [0, ".sd\000", [[12, "\001\000\000\000"], [12, "\002\000\000\000"], [12, "\003\000\000\000"], [12, "\004\000\000\000"], [12, "\005\000\000\000"], [12, "\006\000\000\000"], [12, "\a\000\000\000"], [12, "\027\000\000\000"]]]]],
1760
+ ['audio/x-aifc', [[8, 'AIFC']]],
1761
+ ['audio/x-aiff', [[8, 'AIFF'], [8, '8SVX']]],
1762
+ ['audio/x-ape', [[0, 'MAC ']]],
1763
+ ['audio/x-iriver-pla', [[4, 'iriver UMS PLA']]],
1764
+ ['audio/x-it', [[0, 'IMPM']]],
1765
+ ['audio/x-m4b', [[4, 'ftypM4B']]],
1766
+ ['audio/x-mo3', [[0, 'MO3']]],
1767
+ ['audio/x-mod', [[0, 'MTM'], [0, 'MMD0'], [0, 'MMD1'], [0, 'if'], [0, 'JN'], [0, 'MAS_UTrack_V00']]],
1768
+ ['audio/x-mpegurl', [[0, '#EXTM3U']]],
1769
+ ['audio/x-musepack', [[0, 'MP+']]],
1770
+ ['audio/x-psf', [[0, 'PSF']]],
1771
+ ['audio/x-s3m', [[44, 'SCRM']]],
1772
+ ['audio/x-scpls', [[0, '[playlist]'], [0, '[Playlist]'], [0, '[PLAYLIST]']]],
1773
+ ['audio/x-speex', [[0, 'Speex']]],
1774
+ ['audio/x-stm', [[20, "!Scream!\032"], [20, "!SCREAM!\032"], [20, "BMOD2STM\032"]]],
1775
+ ['audio/x-tta', [[0, 'TTA1']]],
1776
+ ['audio/x-wavpack', [[0, 'wvpk']]],
1777
+ ['audio/x-wavpack-correction', [[0, 'wvpk']]],
1778
+ ['audio/x-xi', [[0, 'Extended Instrument:']]],
1779
+ ['audio/x-xm', [[0, 'Extended Module:']]],
1780
+ ['audio/x-xmf', [[0, 'XMF_'], [0, "XMF_2.00\000\000\000\002"]]],
1781
+ ['image/dpx', [[0, 'SDPX']]],
1782
+ ['image/fits', [[0, 'SIMPLE =']]],
1783
+ ['image/jp2', [[0, "\377O\377Q\000"], [3, "\fjP "], [20, 'jp2']]],
1784
+ ['image/openraster', [[0, "PK\003\004", [[30, 'mimetype', [[38, 'image/openraster']]]]]]],
1785
+ ['image/vnd.djvu', [[0, 'AT&TFORM', [[12, 'DJVU']]], [0, 'FORM', [[8, 'DJVU']]]]],
1786
+ ['image/vnd.djvu+multipage', [[0, 'AT&TFORM', [[12, 'DJVM']]], [0, 'FORM', [[8, 'DJVM']]]]],
1787
+ ['image/vnd.dxf', [[0..64, "\nHEADER\n"], [0..64, "\r\nHEADER\r\n"]]],
1788
+ ['image/vnd.microsoft.icon', [[0, "\000\000\001\000", [[5, "\000"]]]]],
1789
+ ['image/vnd.ms-modi', [[0, "EP*\000"]]],
1790
+ ['image/vnd.zbrush.pcx', [[0, "\n", [[1, "\000"], [1, "\002"], [1, "\003"], [1, "\005"]]]]],
1791
+ ['image/x-applix-graphics', [[0, '*BEGIN', [[7, 'GRAPHICS']]]]],
1792
+ ['image/x-canon-crw', [[0, "II\032\000\000\000HEAPCCDR"]]],
1793
+ ['image/x-dds', [[0, 'DDS']]],
1794
+ ['image/x-dib', [[0, "(\000\000\000"]]],
1795
+ ['image/x-emf', [[0, "\001\000\000\000", [[40, ' EMF', [[44, "\000\000\001\000", [[58, "\000\000"]]]]]]]]],
1796
+ ['image/x-exr', [[0, "v/1\001"]]],
1797
+ ['image/x-fpx', [[0, 'FPix']]],
1798
+ ['image/x-fuji-raf', [[0, 'FUJIFILMCCD-RAW ']]],
1799
+ ['image/x-icns', [[0, 'icns']]],
1800
+ ['image/x-ilbm', [[8, 'ILBM'], [8, 'PBM ']]],
1801
+ ['image/x-minolta-mrw', [[0, "\000MRM"]]],
1802
+ ['image/x-olympus-orf', [[0, "IIRO\b\000\000\000"]]],
1803
+ ['image/x-panasonic-raw', [[0, "IIU\000\b\000\000\000"]]],
1804
+ ['image/x-panasonic-raw2', [[0, "IIU\000\030\000\000\000"]]],
1805
+ ['image/x-pict', [[522, "\000\021", [[524, "\002\377", [[526, "\f\000", [[528, "\377\376"]]]]]]]]],
1806
+ ['image/x-pict', [[10, "\000\021", [[12, "\002\377", [[14, "\f\000", [[16, "\377\376"]]]]]]]]],
1807
+ ['image/x-portable-bitmap', [[0, 'P1', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]], [0, 'P4', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]]]],
1808
+ ['image/x-portable-graymap', [[0, 'P2', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]], [0, 'P5', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]]]],
1809
+ ['image/x-portable-pixmap', [[0, 'P3', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]], [0, 'P6', [[2, "\n"], [2, ' '], [2, "\t"], [2, "\r"]]]]],
1810
+ ['image/x-quicktime', [[4, 'idat']]],
1811
+ ['image/x-sigma-x3f', [[0, 'FOVb']]],
1812
+ ['image/x-skencil', [[0, '##Sketch']]],
1813
+ ['image/x-sun-raster', [[0, "Y\246j\225"]]],
1814
+ ['image/x-tga', [[1, "\000\002", [[16, "\b"], [16, "\020"], [16, "\030"], [16, ' ']]]]],
1815
+ ['image/x-win-bitmap', [[0, "\000\000\002\000", [[5, "\000"]]]]],
1816
+ ['image/x-wmf', [[0, "\327\315\306\232", [[22, "\001\000", [[24, "\t\000"]]]]], [0, "\001\000", [[2, "\t\000"]]]]],
1817
+ ['image/x-xcf', [[0, 'gimp xcf file'], [0, 'gimp xcf v']]],
1818
+ ['image/x-xcursor', [[0, 'Xcur']]],
1819
+ ['image/x-xfig', [[0, '#FIG']]],
1820
+ ['image/x-xpixmap', [[0, '/* XPM']]],
1821
+ ['message/news', [[0, 'Article'], [0, 'Path:'], [0, 'Xref:']]],
1822
+ ['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: ']]],
1823
+ ['text/cache-manifest', [[0, 'CACHE MANIFEST', [[14, ' '], [14, "\t"], [14, "\n"], [14, "\r"]]]]],
1824
+ ['text/calendar', [[0, 'BEGIN:VCALENDAR'], [0, 'begin:vcalendar']]],
1825
+ ['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']]],
1826
+ ['text/plain', [[0, 'This is TeX,'], [0, 'This is METAFONT,']]],
1827
+ ['text/spreadsheet', [[0, 'ID;']]],
1828
+ ['text/troff', [[0, ".\\\""], [0, "'\\\""], [0, "'.\\\""], [0, "\\\""]]],
1829
+ ['text/vcard', [[0, 'BEGIN:VCARD'], [0, 'begin:vcard']]],
1830
+ ['text/vnd.graphviz', [[0, 'digraph '], [0, 'strict digraph '], [0, 'graph '], [0, 'strict graph ']]],
1831
+ ['text/vnd.sun.j2me.app-descriptor', [[0, 'MIDlet-']]],
1832
+ ['text/vnd.trolltech.linguist', [[0..256, '<TS']]],
1833
+ ['text/vtt', [[0, 'WEBVTT']]],
1834
+ ['text/x-bibtex', [[0, '% This file was created with JabRef']]],
1835
+ ['text/x-emacs-lisp', [[0, "\n("], [0, ";ELC\023\000\000\000"]]],
1836
+ ['text/x-gettext-translation-template', [[0..256, "#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version:"]]],
1837
+ ['text/x-google-video-pointer', [[0, '#.download.the.free.Google.Video.Player'], [0, '# download the free Google Video Player']]],
1838
+ ['text/x-iMelody', [[0, 'BEGIN:IMELODY']]],
1839
+ ['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']]]]]]],
1840
+ ['text/x-ldif', [[0, 'dn: cn='], [0, 'dn: mail=']]],
1841
+ ['text/x-lua', [[2..16, '/bin/lua'], [2..16, '/bin/luajit'], [2..16, '/bin/env lua'], [2..16, '/bin/env luajit']]],
1842
+ ['text/x-makefile', [[0, '#!/usr/bin/make'], [0, '#! /usr/bin/make']]],
1843
+ ['text/x-matlab', [[0, 'function']]],
1844
+ ['text/x-microdvd', [[0, '{1}'], [0, '{0}'], [0..6, '}{']]],
1845
+ ['text/x-modelica', [[0, 'class']]],
1846
+ ['text/x-modelica', [[0, 'record']]],
1847
+ ['text/x-modelica', [[0, 'model']]],
1848
+ ['text/x-modelica', [[0, 'function']]],
1849
+ ['text/x-mpsub', [[0..256, 'FORMAT=']]],
1850
+ ['text/x-mrml', [[0, '<mrml ']]],
1851
+ ['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"]]],
1852
+ ['text/x-mup', [[0, '//!Mup']]],
1853
+ ['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:']]],
1854
+ ['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']]],
1855
+ ['text/x-rpm-spec', [[0, 'Summary: '], [0, '%define ']]],
1856
+ ['text/x-ssa', [[0..256, '[Script Info]'], [0..256, 'Dialogue: ']]],
1857
+ ['text/x-subviewer', [[0, '[INFORMATION]']]],
1858
+ ['text/x-tex', [[1, 'documentclass']]],
1859
+ ['text/x-uuencode', [[0, 'begin ']]],
1860
+ ['text/xmcd', [[0, '# xmcd']]],
1861
+ ['video/3gpp', [[4, 'ftyp3ge'], [4, 'ftyp3gg'], [4, 'ftyp3gp'], [4, 'ftyp3gs']]],
1862
+ ['video/3gpp2', [[4, 'ftyp3g2']]],
1863
+ ['video/annodex', [[0, 'OggS', [[28, "fishead\000", [[56..512, "CMML\000\000\000\000"]]]]]]],
1864
+ ['video/dv', []],
1865
+ ['video/mp2t', []],
1866
+ ['video/vnd.mpegurl', [[0, '#EXTM4U']]],
1867
+ ['video/x-flic', [[0, "\021\257"], [0, "\022\257"]]],
1868
+ ['video/x-mng', [[0, "\212MNG\r\n\032\n"]]],
1869
+ ['video/x-nsv', [[0, 'NSVf']]],
1870
+ ['video/x-sgi-movie', [[0, 'MOVI']]],
1871
+ ['x-epoc/x-sisx-app', [[0, "z\032 \020"]]],
1872
+ ['application/x-archive', [[0, '<ar>'], [0, '!<arch>']]],
1873
+ ['application/x-riff', [[0, 'RIFF']]],
1874
+ ['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"]]],
1875
+ ['application/x-iff', [[0, 'FORM']]],
1876
+ ['application/x-perl', [[0..256, "\n=pod"], [0..256, "\n=head1 NAME"], [0..256, "\n=head1 DESCRIPTION"]]],
1877
+ ['application/xml', [[0, '<?xml'], [0, '<!--']]],
1878
+ ['application/zip', [[0, "PK\003\004"]]],
1879
+ ['audio/basic', [[0, '.snd']]],
1880
+ ['video/x-javafx', [[0, 'FLV']]],
1881
+ ['application/x-mobipocket-ebook', [[60, 'TEXtREAd']]],
1882
+ ['text/x-csrc', [[0, '/*'], [0, '//'], [0, '#include']]],
1883
+ ['text/x-objcsrc', [[0, '#import']]],
1884
+ ['application/mbox', [[0, 'From ']]],
1885
+ ['image/x-tga', [[1, "\001\001"], [1, "\0019"], [1, "\000\003"], [1, "\000\n"], [1, "\000\v"]]],
1886
+ ['text/x-matlab', [[0, '%']]],
1887
+ ['text/x-matlab', [[0, '##']]],
1888
+ ['text/x-modelica', [[0, '//']]],
1889
+ ['text/x-tex', [[0, '%']]],
1890
+ ]
1891
+ end