├── .gitignore ├── .codeclimate.yml ├── tests ├── bootstrap.php └── src │ ├── MimeMappingGeneratorTest.php │ ├── MimeMappingBuilderTest.php │ └── MimeTypesTest.php ├── .travis.yml ├── bin └── generate.php ├── phpunit.xml ├── mime.types.custom ├── composer.json ├── license ├── src ├── MimeTypesInterface.php ├── MimeMappingGenerator.php ├── MimeTypes.php └── MimeMappingBuilder.php ├── readme.md └── mime.types /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_store 3 | /vendor/ 4 | /build/ 5 | composer.phar 6 | composer.lock 7 | -------------------------------------------------------------------------------- /.codeclimate.yml: -------------------------------------------------------------------------------- 1 | languages: 2 | PHP: true 3 | 4 | exclude_paths: 5 | - mime.types.php 6 | - build/**/* 7 | - tests/**/* 8 | - vendor/**/* 9 | -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | generateMappingCode(); 11 | 12 | file_put_contents(dirname(__DIR__) . '/mime.types.php', $mapping_code); 13 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | src 11 | 12 | 13 | 14 | 15 | 16 | 17 | ./tests/src 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /mime.types.custom: -------------------------------------------------------------------------------- 1 | # This file is in the same format as mime.types but the 2 | # mappings in this file take precedence. 3 | # 4 | # MIME type (lowercased) Extensions 5 | # ============================================ ========== 6 | 7 | application/font-woff wof 8 | application/php php 9 | application/x-font-otf otf 10 | application/x-font-ttf ttf ttc 11 | application/x-gzip zip 12 | application/x-httpd-php php 13 | application/x-httpd-php-source php 14 | application/x-php php 15 | audio/amr amr 16 | audio/mpeg mp3 mpga mp2 mp2a m2a m3a 17 | image/jpeg jpg jpeg jpe 18 | image/x-ms-bmp bmp 19 | text/php php 20 | text/x-php php 21 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ralouphie/mimey", 3 | "description": "PHP package for converting file extensions to MIME types and vice versa.", 4 | "license": "MIT", 5 | "authors": [ 6 | { 7 | "name": "Ralph Khattar", 8 | "email": "ralph.khattar@gmail.com" 9 | } 10 | ], 11 | "require": { 12 | "php": "^5.4|^7.0|^8.0" 13 | }, 14 | "require-dev": { 15 | "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^9.0", 16 | "php-coveralls/php-coveralls": "^2.1" 17 | }, 18 | "autoload": { 19 | "psr-4": { 20 | "Mimey\\": "src/" 21 | } 22 | }, 23 | "autoload-dev": { 24 | "psr-4": { 25 | "Mimey\\Tests\\": "tests/src/" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Ralph Khattar 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 all 13 | 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 THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /tests/src/MimeMappingGeneratorTest.php: -------------------------------------------------------------------------------- 1 | generateMapping(); 20 | $expected = [ 21 | 'mimes' => [ 22 | 'json' => ['application/json'], 23 | 'jpeg' => ['image/jpeg'], 24 | 'jpg' => ['image/jpeg'], 25 | 'bar' => ['foo', 'qux'], 26 | 'baz' => ['foo'], 27 | ], 28 | 'extensions' => [ 29 | 'application/json' => ['json'], 30 | 'image/jpeg' => ['jpeg', 'jpg'], 31 | 'foo' => ['bar', 'baz'], 32 | 'qux' => ['bar'], 33 | ], 34 | ]; 35 | $this->assertEquals($expected, $mapping); 36 | 37 | $code = $generator->generateMappingCode(); 38 | $file = tempnam(sys_get_temp_dir(), 'mapping_test'); 39 | file_put_contents($file, $code); 40 | $mapping_included = require $file; 41 | unlink($file); 42 | $this->assertEquals($mapping, $mapping_included); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/MimeTypesInterface.php: -------------------------------------------------------------------------------- 1 | mime_types_text = $mime_types_text; 22 | } 23 | 24 | /** 25 | * Read the given mime.types text and return a mapping compatible with the MimeTypes class. 26 | * 27 | * @return array The mapping. 28 | */ 29 | public function generateMapping() 30 | { 31 | $mapping = array(); 32 | $lines = explode("\n", $this->mime_types_text); 33 | foreach ($lines as $line) { 34 | $line = trim(preg_replace('~\\#.*~', '', $line)); 35 | $parts = $line ? array_values(array_filter(explode("\t", $line))) : array(); 36 | if (count($parts) === 2) { 37 | $mime = trim($parts[0]); 38 | $extensions = explode(' ', $parts[1]); 39 | foreach ($extensions as $extension) { 40 | $extension = trim($extension); 41 | if ($mime && $extension) { 42 | $mapping['mimes'][$extension][] = $mime; 43 | $mapping['extensions'][$mime][] = $extension; 44 | $mapping['mimes'][$extension] = array_unique($mapping['mimes'][$extension]); 45 | $mapping['extensions'][$mime] = array_unique($mapping['extensions'][$mime]); 46 | } 47 | } 48 | } 49 | } 50 | return $mapping; 51 | } 52 | 53 | /** 54 | * Read the given mime.types text and generate mapping code. 55 | * 56 | * @return string The mapping PHP code for inclusion. 57 | */ 58 | public function generateMappingCode() 59 | { 60 | $mapping = $this->generateMapping(); 61 | $mapping_export = var_export($mapping, true); 62 | return "add('foo/bar', 'foobar'); 15 | $builder->add('foo/bar', 'bar'); 16 | $builder->add('foo/baz', 'foobaz'); 17 | $mime = new MimeTypes($builder->getMapping()); 18 | $this->assertEquals('bar', $mime->getExtension('foo/bar')); 19 | $this->assertEquals(['bar', 'foobar'], $mime->getAllExtensions('foo/bar')); 20 | $this->assertEquals('foobaz', $mime->getExtension('foo/baz')); 21 | $this->assertEquals(['foobaz'], $mime->getAllExtensions('foo/baz')); 22 | $this->assertEquals('foo/bar', $mime->getMimeType('foobar')); 23 | $this->assertEquals(['foo/bar'], $mime->getAllMimeTypes('foobar')); 24 | $this->assertEquals('foo/bar', $mime->getMimeType('bar')); 25 | $this->assertEquals(['foo/bar'], $mime->getAllMimeTypes('bar')); 26 | $this->assertEquals('foo/baz', $mime->getMimeType('foobaz')); 27 | $this->assertEquals(['foo/baz'], $mime->getAllMimeTypes('foobaz')); 28 | } 29 | 30 | public function testFromBuiltIn() 31 | { 32 | $builder = MimeMappingBuilder::create(); 33 | $mime1 = new MimeTypes($builder->getMapping()); 34 | $this->assertEquals('json', $mime1->getExtension('application/json')); 35 | $this->assertEquals('application/json', $mime1->getMimeType('json')); 36 | 37 | $builder->add('application/json', 'mycustomjson'); 38 | $mime2 = new MimeTypes($builder->getMapping()); 39 | $this->assertEquals('mycustomjson', $mime2->getExtension('application/json')); 40 | $this->assertEquals('application/json', $mime2->getMimeType('json')); 41 | 42 | $builder->add('application/mycustomjson', 'json'); 43 | $mime3 = new MimeTypes($builder->getMapping()); 44 | $this->assertEquals('mycustomjson', $mime3->getExtension('application/json')); 45 | $this->assertEquals('application/mycustomjson', $mime3->getMimeType('json')); 46 | } 47 | 48 | public function testAppendExtension() 49 | { 50 | $builder = MimeMappingBuilder::blank(); 51 | $builder->add('foo/bar', 'foobar'); 52 | $builder->add('foo/bar', 'bar', false); 53 | $mime = new MimeTypes($builder->getMapping()); 54 | $this->assertEquals('foobar', $mime->getExtension('foo/bar')); 55 | } 56 | 57 | public function testAppendMime() 58 | { 59 | $builder = MimeMappingBuilder::blank(); 60 | $builder->add('foo/bar', 'foobar'); 61 | $builder->add('foo/bar2', 'foobar', true, false); 62 | $mime = new MimeTypes($builder->getMapping()); 63 | $this->assertEquals('foo/bar', $mime->getMimeType('foobar')); 64 | } 65 | 66 | public function testSave() 67 | { 68 | $builder = MimeMappingBuilder::blank(); 69 | $builder->add('foo/one', 'one'); 70 | $builder->add('foo/one', 'one1'); 71 | $builder->add('foo/two', 'two'); 72 | $builder->add('foo/two2', 'two'); 73 | $file = tempnam(sys_get_temp_dir(), 'mapping_test'); 74 | $builder->save($file); 75 | $mapping_included = require $file; 76 | $this->assertEquals($builder->getMapping(), $mapping_included); 77 | $builder2 = MimeMappingBuilder::load($file); 78 | unlink($file); 79 | $this->assertEquals($builder->getMapping(), $builder2->getMapping()); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/MimeTypes.php: -------------------------------------------------------------------------------- 1 | 26 | * array( 27 | * 'extensions' => array( 28 | * 'application/json' => array('json'), 29 | * 'image/jpeg' => array('jpg', 'jpeg'), 30 | * ... 31 | * ), 32 | * 'mimes' => array( 33 | * 'json' => array('application/json'), 34 | * 'jpeg' => array('image/jpeg'), 35 | * ... 36 | * ) 37 | * ) 38 | * 39 | */ 40 | public function __construct($mapping = null) 41 | { 42 | if ($mapping === null) { 43 | $this->mapping = self::getBuiltIn(); 44 | } else { 45 | $this->mapping = $mapping; 46 | } 47 | } 48 | 49 | /** 50 | * @inheritdoc 51 | */ 52 | public function getMimeType($extension) 53 | { 54 | $extension = $this->cleanInput($extension); 55 | if (!empty($this->mapping['mimes'][$extension])) { 56 | return $this->mapping['mimes'][$extension][0]; 57 | } 58 | return null; 59 | } 60 | 61 | /** 62 | * @inheritdoc 63 | */ 64 | public function getExtension($mime_type) 65 | { 66 | $mime_type = $this->cleanInput($mime_type); 67 | if (!empty($this->mapping['extensions'][$mime_type])) { 68 | return $this->mapping['extensions'][$mime_type][0]; 69 | } 70 | return null; 71 | } 72 | 73 | /** 74 | * @inheritdoc 75 | */ 76 | public function getAllMimeTypes($extension) 77 | { 78 | $extension = $this->cleanInput($extension); 79 | if (isset($this->mapping['mimes'][$extension])) { 80 | return $this->mapping['mimes'][$extension]; 81 | } 82 | return array(); 83 | } 84 | 85 | /** 86 | * @inheritdoc 87 | */ 88 | public function getAllExtensions($mime_type) 89 | { 90 | $mime_type = $this->cleanInput($mime_type); 91 | if (isset($this->mapping['extensions'][$mime_type])) { 92 | return $this->mapping['extensions'][$mime_type]; 93 | } 94 | return array(); 95 | } 96 | 97 | /** 98 | * Get the built-in mapping. 99 | * 100 | * @return array The built-in mapping. 101 | */ 102 | protected static function getBuiltIn() 103 | { 104 | if (self::$built_in === null) { 105 | self::$built_in = require(dirname(__DIR__) . '/mime.types.php'); 106 | } 107 | return self::$built_in; 108 | } 109 | 110 | /** 111 | * Normalize the input string using lowercase/trim. 112 | * 113 | * @param string $input The string to normalize. 114 | * 115 | * @return string The normalized string. 116 | */ 117 | private function cleanInput($input) 118 | { 119 | return strtolower(trim($input)); 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /src/MimeMappingBuilder.php: -------------------------------------------------------------------------------- 1 | mapping = $mapping; 21 | } 22 | 23 | /** 24 | * Add a conversion. 25 | * 26 | * @param string $mime The MIME type. 27 | * @param string $extension The extension. 28 | * @param bool $prepend_extension Whether this should be the preferred conversion for MIME type to extension. 29 | * @param bool $prepend_mime Whether this should be the preferred conversion for extension to MIME type. 30 | */ 31 | public function add($mime, $extension, $prepend_extension = true, $prepend_mime = true) 32 | { 33 | $existing_extensions = empty($this->mapping['extensions'][$mime]) ? array() : $this->mapping['extensions'][$mime]; 34 | $existing_mimes = empty($this->mapping['mimes'][$extension]) ? array() : $this->mapping['mimes'][$extension]; 35 | if ($prepend_extension) { 36 | array_unshift($existing_extensions, $extension); 37 | } else { 38 | $existing_extensions[] = $extension; 39 | } 40 | if ($prepend_mime) { 41 | array_unshift($existing_mimes, $mime); 42 | } else { 43 | $existing_mimes[] = $mime; 44 | } 45 | $this->mapping['extensions'][$mime] = array_unique($existing_extensions); 46 | $this->mapping['mimes'][$extension] = array_unique($existing_mimes); 47 | } 48 | 49 | /** 50 | * @return array The mapping. 51 | */ 52 | public function getMapping() 53 | { 54 | return $this->mapping; 55 | } 56 | 57 | /** 58 | * Compile the current mapping to PHP. 59 | * 60 | * @return string The compiled PHP code to save to a file. 61 | */ 62 | public function compile() 63 | { 64 | $mapping = $this->getMapping(); 65 | $mapping_export = var_export($mapping, true); 66 | return "compile(), $flags, $context); 81 | } 82 | 83 | /** 84 | * Create a new mapping builder based on the built-in types. 85 | * 86 | * @return MimeMappingBuilder A mapping builder with built-in types loaded. 87 | */ 88 | public static function create() 89 | { 90 | return self::load(dirname(__DIR__) . '/mime.types.php'); 91 | } 92 | 93 | /** 94 | * Create a new mapping builder based on types from a file. 95 | * 96 | * @param string $file The compiled PHP file to load. 97 | * 98 | * @return MimeMappingBuilder A mapping builder with types loaded from a file. 99 | */ 100 | public static function load($file) 101 | { 102 | return new self(require($file)); 103 | } 104 | 105 | /** 106 | * Create a new mapping builder that has no types defined. 107 | * 108 | * @return MimeMappingBuilder A mapping builder with no types defined. 109 | */ 110 | public static function blank() 111 | { 112 | return new self(array('mimes' => array(), 'extensions' => array())); 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /tests/src/MimeTypesTest.php: -------------------------------------------------------------------------------- 1 | mime = new MimeTypes([ 16 | 'mimes' => [ 17 | 'json' => ['application/json'], 18 | 'jpeg' => ['image/jpeg'], 19 | 'jpg' => ['image/jpeg'], 20 | 'bar' => ['foo', 'qux'], 21 | 'baz' => ['foo'], 22 | ], 23 | 'extensions' => [ 24 | 'application/json' => ['json'], 25 | 'image/jpeg' => ['jpeg', 'jpg'], 26 | 'foo' => ['bar', 'baz'], 27 | 'qux' => ['bar'], 28 | ], 29 | ]); 30 | } 31 | 32 | public function getMimeTypeProvider() 33 | { 34 | return [ 35 | ['application/json', 'json'], 36 | ['image/jpeg', 'jpeg'], 37 | ['image/jpeg', 'jpg'], 38 | ['foo', 'bar'], 39 | ['foo', 'baz'], 40 | ]; 41 | } 42 | 43 | /** 44 | * @dataProvider getMimeTypeProvider 45 | */ 46 | public function testGetMimeType($expectedMimeType, $extension) 47 | { 48 | $this->assertEquals($expectedMimeType, $this->mime->getMimeType($extension)); 49 | } 50 | 51 | public function getExtensionProvider() 52 | { 53 | return [ 54 | ['json', 'application/json'], 55 | ['jpeg', 'image/jpeg'], 56 | ['bar', 'foo'], 57 | ['bar', 'qux'], 58 | ]; 59 | } 60 | 61 | /** 62 | * @dataProvider getExtensionProvider 63 | */ 64 | public function testGetExtension($expectedExtension, $mimeType) 65 | { 66 | $this->assertEquals($expectedExtension, $this->mime->getExtension($mimeType)); 67 | } 68 | 69 | public function getAllMimeTypesProvider() 70 | { 71 | return [ 72 | [ 73 | ['application/json'], 'json', 74 | ], 75 | [ 76 | ['image/jpeg'], 'jpeg', 77 | ], 78 | [ 79 | ['image/jpeg'], 'jpg', 80 | ], 81 | [ 82 | ['foo', 'qux'], 'bar', 83 | ], 84 | [ 85 | ['foo'], 'baz', 86 | ], 87 | ]; 88 | } 89 | 90 | /** 91 | * @dataProvider getAllMimeTypesProvider 92 | */ 93 | public function testGetAllMimeTypes($expectedMimeTypes, $extension) 94 | { 95 | $this->assertEquals($expectedMimeTypes, $this->mime->getAllMimeTypes($extension)); 96 | } 97 | 98 | public function getAllExtensionsProvider() 99 | { 100 | return [ 101 | [ 102 | ['json'], 'application/json', 103 | ], 104 | [ 105 | ['jpeg', 'jpg'], 'image/jpeg', 106 | ], 107 | [ 108 | ['bar', 'baz'], 'foo', 109 | ], 110 | [ 111 | ['bar'], 'qux', 112 | ], 113 | ]; 114 | } 115 | 116 | /** 117 | * @dataProvider getAllExtensionsProvider 118 | */ 119 | public function testGetAllExtensions($expectedExtensions, $mimeType) 120 | { 121 | $this->assertEquals($expectedExtensions, $this->mime->getAllExtensions($mimeType)); 122 | } 123 | 124 | public function testGetMimeTypeUndefined() 125 | { 126 | $this->assertNull($this->mime->getMimeType('undefined')); 127 | } 128 | 129 | public function testGetExtensionUndefined() 130 | { 131 | $this->assertNull($this->mime->getExtension('undefined')); 132 | } 133 | 134 | public function testGetAllMimeTypesUndefined() 135 | { 136 | $this->assertEquals([], $this->mime->getAllMimeTypes('undefined')); 137 | } 138 | 139 | public function testGetAllExtensionsUndefined() 140 | { 141 | $this->assertEquals([], $this->mime->getAllExtensions('undefined')); 142 | } 143 | 144 | public function testBuiltInMapping() 145 | { 146 | $mime = new MimeTypes(); 147 | $this->assertEquals('json', $mime->getExtension('application/json')); 148 | $this->assertEquals('application/json', $mime->getMimeType('json')); 149 | } 150 | } 151 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | Mimey 2 | ===== 3 | 4 | PHP package for converting file extensions to MIME types and vice versa. 5 | 6 | [![Build Status](https://travis-ci.org/ralouphie/mimey.svg?branch=master)](https://travis-ci.org/ralouphie/mimey) 7 | [![Coverage Status](https://coveralls.io/repos/ralouphie/mimey/badge.svg?branch=master&service=github)](https://coveralls.io/github/ralouphie/mimey?branch=master) 8 | [![Code Climate](https://codeclimate.com/github/ralouphie/mimey/badges/gpa.svg)](https://codeclimate.com/github/ralouphie/mimey) 9 | [![Latest Stable Version](https://img.shields.io/packagist/v/ralouphie/mimey.svg)](https://packagist.org/packages/ralouphie/mimey) 10 | [![Downloads per Month](https://img.shields.io/packagist/dm/ralouphie/mimey.svg)](https://packagist.org/packages/ralouphie/mimey) 11 | [![License](https://img.shields.io/packagist/l/ralouphie/mimey.svg)](https://packagist.org/packages/ralouphie/mimey) 12 | 13 | This package uses [httpd][]'s [mime.types][] to generate a mapping of file extension to MIME type and the other way around. 14 | 15 | The `mime.types` file is parsed by `bin/generate.php` and converted into an optimized PHP array in `mime.types.php` 16 | which is then wrapped by helper class `\Mimey\MimeTypes`. 17 | 18 | [httpd]: https://httpd.apache.org/docs/current/programs/httpd.html 19 | [mime.types]: https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types 20 | 21 | ## Usage 22 | 23 | ```php 24 | $mimes = new \Mimey\MimeTypes; 25 | 26 | // Convert extension to MIME type: 27 | $mimes->getMimeType('json'); // application/json 28 | 29 | // Convert MIME type to extension: 30 | $mimes->getExtension('application/json'); // json 31 | ``` 32 | 33 | ### Getting All 34 | 35 | It's rare, but some extensions have multiple MIME types: 36 | 37 | ```php 38 | // Get all MIME types for an extension: 39 | $mimes->getAllMimeTypes('wmz'); // array('application/x-ms-wmz', 'application/x-msmetafile') 40 | ``` 41 | 42 | However, there are many MIME types that have multiple extensions: 43 | 44 | ```php 45 | // Get all extensions for a MIME type: 46 | $mimes->getAllExtensions('image/jpeg'); // array('jpeg', 'jpg', 'jpe') 47 | ``` 48 | 49 | ### Custom Conversions 50 | 51 | You can add custom conversions by changing the mapping that is given to `MimeTypes`. 52 | 53 | There is a `MimeMappingBuilder` that can help with this: 54 | 55 | ```php 56 | // Create a builder using the built-in conversions as the basis. 57 | $builder = \Mimey\MimeMappingBuilder::create(); 58 | 59 | // Add a conversion. This conversion will take precedence over existing ones. 60 | $builder->add('custom/mime-type', 'myextension'); 61 | 62 | $mimes = new \Mimey\MimeTypes($builder->getMapping()); 63 | $mimes->getMimeType('myextension'); // custom/mime-type 64 | $mimes->getExtension('custom/mime-type'); // myextension 65 | ``` 66 | 67 | You can add as many conversions as you would like to the builder: 68 | 69 | ```php 70 | $builder->add('custom/mime-type', 'myextension'); 71 | $builder->add('foo/bar', 'foobar'); 72 | $builder->add('foo/bar', 'fbar'); 73 | $builder->add('baz/qux', 'qux'); 74 | $builder->add('cat/qux', 'qux'); 75 | ... 76 | ``` 77 | 78 | #### Optimized Custom Conversion Loading 79 | 80 | You can optimize the loading of custom conversions by saving all conversions to a compiled PHP file as part of a build step. 81 | 82 | ```php 83 | // Add a bunch of custom conversions. 84 | $builder->add(...); 85 | $builder->add(...); 86 | $builder->add(...); 87 | ... 88 | // Save the conversions to a cached file. 89 | $builder->save($cache_file_path); 90 | ``` 91 | 92 | The file can then be loaded to avoid overhead of repeated `$builder->add(...)` calls: 93 | 94 | ```php 95 | // Load the conversions from a cached file. 96 | $builder = \Mimey\MimeMappingBuilder::load($cache_file_path); 97 | $mimes = new \Mimey\MimeTypes($builder->getMapping()); 98 | ``` 99 | 100 | ## Install 101 | 102 | Compatible with PHP >= 5.4. 103 | 104 | ``` 105 | composer require ralouphie/mimey 106 | ``` 107 | -------------------------------------------------------------------------------- /mime.types: -------------------------------------------------------------------------------- 1 | # This file maps Internet media types to unique file extension(s). 2 | # Although created for httpd, this file is used by many software systems 3 | # and has been placed in the public domain for unlimited redisribution. 4 | # 5 | # The table below contains both registered and (common) unregistered types. 6 | # A type that has no unique extension can be ignored -- they are listed 7 | # here to guide configurations toward known types and to make it easier to 8 | # identify "new" types. File extensions are also commonly used to indicate 9 | # content languages and encodings, so choose them carefully. 10 | # 11 | # Internet media types should be registered as described in RFC 4288. 12 | # The registry is at . 13 | # 14 | # MIME type (lowercased) Extensions 15 | # ============================================ ========== 16 | # application/1d-interleaved-parityfec 17 | # application/3gpdash-qoe-report+xml 18 | # application/3gpp-ims+xml 19 | # application/a2l 20 | # application/activemessage 21 | # application/alto-costmap+json 22 | # application/alto-costmapfilter+json 23 | # application/alto-directory+json 24 | # application/alto-endpointcost+json 25 | # application/alto-endpointcostparams+json 26 | # application/alto-endpointprop+json 27 | # application/alto-endpointpropparams+json 28 | # application/alto-error+json 29 | # application/alto-networkmap+json 30 | # application/alto-networkmapfilter+json 31 | # application/aml 32 | application/andrew-inset ez 33 | # application/applefile 34 | application/applixware aw 35 | # application/atf 36 | # application/atfx 37 | application/atom+xml atom 38 | application/atomcat+xml atomcat 39 | # application/atomdeleted+xml 40 | # application/atomicmail 41 | application/atomsvc+xml atomsvc 42 | # application/atxml 43 | # application/auth-policy+xml 44 | # application/bacnet-xdd+zip 45 | # application/batch-smtp 46 | # application/beep+xml 47 | # application/calendar+json 48 | # application/calendar+xml 49 | # application/call-completion 50 | # application/cals-1840 51 | # application/cbor 52 | # application/ccmp+xml 53 | application/ccxml+xml ccxml 54 | # application/cdfx+xml 55 | application/cdmi-capability cdmia 56 | application/cdmi-container cdmic 57 | application/cdmi-domain cdmid 58 | application/cdmi-object cdmio 59 | application/cdmi-queue cdmiq 60 | # application/cdni 61 | # application/cea 62 | # application/cea-2018+xml 63 | # application/cellml+xml 64 | # application/cfw 65 | # application/cms 66 | # application/cnrp+xml 67 | # application/coap-group+json 68 | # application/commonground 69 | # application/conference-info+xml 70 | # application/cpl+xml 71 | # application/csrattrs 72 | # application/csta+xml 73 | # application/cstadata+xml 74 | # application/csvm+json 75 | application/cu-seeme cu 76 | # application/cybercash 77 | # application/dash+xml 78 | # application/dashdelta 79 | application/davmount+xml davmount 80 | # application/dca-rft 81 | # application/dcd 82 | # application/dec-dx 83 | # application/dialog-info+xml 84 | # application/dicom 85 | # application/dii 86 | # application/dit 87 | # application/dns 88 | application/docbook+xml dbk 89 | # application/dskpp+xml 90 | application/dssc+der dssc 91 | application/dssc+xml xdssc 92 | # application/dvcs 93 | application/ecmascript ecma 94 | # application/edi-consent 95 | # application/edi-x12 96 | # application/edifact 97 | # application/efi 98 | # application/emergencycalldata.comment+xml 99 | # application/emergencycalldata.deviceinfo+xml 100 | # application/emergencycalldata.providerinfo+xml 101 | # application/emergencycalldata.serviceinfo+xml 102 | # application/emergencycalldata.subscriberinfo+xml 103 | application/emma+xml emma 104 | # application/emotionml+xml 105 | # application/encaprtp 106 | # application/epp+xml 107 | application/epub+zip epub 108 | # application/eshop 109 | # application/example 110 | application/exi exi 111 | # application/fastinfoset 112 | # application/fastsoap 113 | # application/fdt+xml 114 | # application/fits 115 | application/font-tdpfr pfr 116 | # application/framework-attributes+xml 117 | # application/geo+json 118 | application/gml+xml gml 119 | application/gpx+xml gpx 120 | application/gxf gxf 121 | # application/gzip 122 | # application/h224 123 | # application/held+xml 124 | # application/http 125 | application/hyperstudio stk 126 | # application/ibe-key-request+xml 127 | # application/ibe-pkg-reply+xml 128 | # application/ibe-pp-data 129 | # application/iges 130 | # application/im-iscomposing+xml 131 | # application/index 132 | # application/index.cmd 133 | # application/index.obj 134 | # application/index.response 135 | # application/index.vnd 136 | application/inkml+xml ink inkml 137 | # application/iotp 138 | application/ipfix ipfix 139 | # application/ipp 140 | # application/isup 141 | # application/its+xml 142 | application/java-archive jar 143 | application/java-serialized-object ser 144 | application/java-vm class 145 | application/javascript js 146 | # application/jose 147 | # application/jose+json 148 | # application/jrd+json 149 | application/json json 150 | # application/json-patch+json 151 | # application/json-seq 152 | application/jsonml+json jsonml 153 | # application/jwk+json 154 | # application/jwk-set+json 155 | # application/jwt 156 | # application/kpml-request+xml 157 | # application/kpml-response+xml 158 | # application/ld+json 159 | # application/lgr+xml 160 | # application/link-format 161 | # application/load-control+xml 162 | application/lost+xml lostxml 163 | # application/lostsync+xml 164 | # application/lxf 165 | application/mac-binhex40 hqx 166 | application/mac-compactpro cpt 167 | # application/macwriteii 168 | application/mads+xml mads 169 | application/marc mrc 170 | application/marcxml+xml mrcx 171 | application/mathematica ma nb mb 172 | application/mathml+xml mathml 173 | # application/mathml-content+xml 174 | # application/mathml-presentation+xml 175 | # application/mbms-associated-procedure-description+xml 176 | # application/mbms-deregister+xml 177 | # application/mbms-envelope+xml 178 | # application/mbms-msk+xml 179 | # application/mbms-msk-response+xml 180 | # application/mbms-protection-description+xml 181 | # application/mbms-reception-report+xml 182 | # application/mbms-register+xml 183 | # application/mbms-register-response+xml 184 | # application/mbms-schedule+xml 185 | # application/mbms-user-service-description+xml 186 | application/mbox mbox 187 | # application/media-policy-dataset+xml 188 | # application/media_control+xml 189 | application/mediaservercontrol+xml mscml 190 | # application/merge-patch+json 191 | application/metalink+xml metalink 192 | application/metalink4+xml meta4 193 | application/mets+xml mets 194 | # application/mf4 195 | # application/mikey 196 | application/mods+xml mods 197 | # application/moss-keys 198 | # application/moss-signature 199 | # application/mosskey-data 200 | # application/mosskey-request 201 | application/mp21 m21 mp21 202 | application/mp4 mp4s 203 | # application/mpeg4-generic 204 | # application/mpeg4-iod 205 | # application/mpeg4-iod-xmt 206 | # application/mrb-consumer+xml 207 | # application/mrb-publish+xml 208 | # application/msc-ivr+xml 209 | # application/msc-mixer+xml 210 | application/msword doc dot 211 | application/mxf mxf 212 | # application/nasdata 213 | # application/news-checkgroups 214 | # application/news-groupinfo 215 | # application/news-transmission 216 | # application/nlsml+xml 217 | # application/nss 218 | # application/ocsp-request 219 | # application/ocsp-response 220 | application/octet-stream bin dms lrf mar so dist distz pkg bpk dump elc deploy 221 | application/oda oda 222 | # application/odx 223 | application/oebps-package+xml opf 224 | application/ogg ogx 225 | application/omdoc+xml omdoc 226 | application/onenote onetoc onetoc2 onetmp onepkg 227 | application/oxps oxps 228 | # application/p2p-overlay+xml 229 | # application/parityfec 230 | application/patch-ops-error+xml xer 231 | application/pdf pdf 232 | # application/pdx 233 | application/pgp-encrypted pgp 234 | # application/pgp-keys 235 | application/pgp-signature asc sig 236 | application/pics-rules prf 237 | # application/pidf+xml 238 | # application/pidf-diff+xml 239 | application/pkcs10 p10 240 | # application/pkcs12 241 | application/pkcs7-mime p7m p7c 242 | application/pkcs7-signature p7s 243 | application/pkcs8 p8 244 | application/pkix-attr-cert ac 245 | application/pkix-cert cer 246 | application/pkix-crl crl 247 | application/pkix-pkipath pkipath 248 | application/pkixcmp pki 249 | application/pls+xml pls 250 | # application/poc-settings+xml 251 | application/postscript ai eps ps 252 | # application/ppsp-tracker+json 253 | # application/problem+json 254 | # application/problem+xml 255 | # application/provenance+xml 256 | # application/prs.alvestrand.titrax-sheet 257 | application/prs.cww cww 258 | # application/prs.hpub+zip 259 | # application/prs.nprend 260 | # application/prs.plucker 261 | # application/prs.rdf-xml-crypt 262 | # application/prs.xsf+xml 263 | application/pskc+xml pskcxml 264 | # application/qsig 265 | # application/raptorfec 266 | # application/rdap+json 267 | application/rdf+xml rdf 268 | application/reginfo+xml rif 269 | application/relax-ng-compact-syntax rnc 270 | # application/remote-printing 271 | # application/reputon+json 272 | application/resource-lists+xml rl 273 | application/resource-lists-diff+xml rld 274 | # application/rfc+xml 275 | # application/riscos 276 | # application/rlmi+xml 277 | application/rls-services+xml rs 278 | application/rpki-ghostbusters gbr 279 | application/rpki-manifest mft 280 | application/rpki-roa roa 281 | # application/rpki-updown 282 | application/rsd+xml rsd 283 | application/rss+xml rss 284 | application/rtf rtf 285 | # application/rtploopback 286 | # application/rtx 287 | # application/samlassertion+xml 288 | # application/samlmetadata+xml 289 | application/sbml+xml sbml 290 | # application/scaip+xml 291 | # application/scim+json 292 | application/scvp-cv-request scq 293 | application/scvp-cv-response scs 294 | application/scvp-vp-request spq 295 | application/scvp-vp-response spp 296 | application/sdp sdp 297 | # application/sep+xml 298 | # application/sep-exi 299 | # application/session-info 300 | # application/set-payment 301 | application/set-payment-initiation setpay 302 | # application/set-registration 303 | application/set-registration-initiation setreg 304 | # application/sgml 305 | # application/sgml-open-catalog 306 | application/shf+xml shf 307 | # application/sieve 308 | # application/simple-filter+xml 309 | # application/simple-message-summary 310 | # application/simplesymbolcontainer 311 | # application/slate 312 | # application/smil 313 | application/smil+xml smi smil 314 | # application/smpte336m 315 | # application/soap+fastinfoset 316 | # application/soap+xml 317 | application/sparql-query rq 318 | application/sparql-results+xml srx 319 | # application/spirits-event+xml 320 | # application/sql 321 | application/srgs gram 322 | application/srgs+xml grxml 323 | application/sru+xml sru 324 | application/ssdl+xml ssdl 325 | application/ssml+xml ssml 326 | # application/tamp-apex-update 327 | # application/tamp-apex-update-confirm 328 | # application/tamp-community-update 329 | # application/tamp-community-update-confirm 330 | # application/tamp-error 331 | # application/tamp-sequence-adjust 332 | # application/tamp-sequence-adjust-confirm 333 | # application/tamp-status-query 334 | # application/tamp-status-response 335 | # application/tamp-update 336 | # application/tamp-update-confirm 337 | application/tei+xml tei teicorpus 338 | application/thraud+xml tfi 339 | # application/timestamp-query 340 | # application/timestamp-reply 341 | application/timestamped-data tsd 342 | # application/ttml+xml 343 | # application/tve-trigger 344 | # application/ulpfec 345 | # application/urc-grpsheet+xml 346 | # application/urc-ressheet+xml 347 | # application/urc-targetdesc+xml 348 | # application/urc-uisocketdesc+xml 349 | # application/vcard+json 350 | # application/vcard+xml 351 | # application/vemmi 352 | # application/vividence.scriptfile 353 | # application/vnd.3gpp-prose+xml 354 | # application/vnd.3gpp-prose-pc3ch+xml 355 | # application/vnd.3gpp.access-transfer-events+xml 356 | # application/vnd.3gpp.bsf+xml 357 | # application/vnd.3gpp.mid-call+xml 358 | application/vnd.3gpp.pic-bw-large plb 359 | application/vnd.3gpp.pic-bw-small psb 360 | application/vnd.3gpp.pic-bw-var pvb 361 | # application/vnd.3gpp.sms 362 | # application/vnd.3gpp.sms+xml 363 | # application/vnd.3gpp.srvcc-ext+xml 364 | # application/vnd.3gpp.srvcc-info+xml 365 | # application/vnd.3gpp.state-and-event-info+xml 366 | # application/vnd.3gpp.ussd+xml 367 | # application/vnd.3gpp2.bcmcsinfo+xml 368 | # application/vnd.3gpp2.sms 369 | application/vnd.3gpp2.tcap tcap 370 | # application/vnd.3lightssoftware.imagescal 371 | application/vnd.3m.post-it-notes pwn 372 | application/vnd.accpac.simply.aso aso 373 | application/vnd.accpac.simply.imp imp 374 | application/vnd.acucobol acu 375 | application/vnd.acucorp atc acutc 376 | application/vnd.adobe.air-application-installer-package+zip air 377 | # application/vnd.adobe.flash.movie 378 | application/vnd.adobe.formscentral.fcdt fcdt 379 | application/vnd.adobe.fxp fxp fxpl 380 | # application/vnd.adobe.partial-upload 381 | application/vnd.adobe.xdp+xml xdp 382 | application/vnd.adobe.xfdf xfdf 383 | # application/vnd.aether.imp 384 | # application/vnd.ah-barcode 385 | application/vnd.ahead.space ahead 386 | application/vnd.airzip.filesecure.azf azf 387 | application/vnd.airzip.filesecure.azs azs 388 | application/vnd.amazon.ebook azw 389 | # application/vnd.amazon.mobi8-ebook 390 | application/vnd.americandynamics.acc acc 391 | application/vnd.amiga.ami ami 392 | # application/vnd.amundsen.maze+xml 393 | application/vnd.android.package-archive apk 394 | # application/vnd.anki 395 | application/vnd.anser-web-certificate-issue-initiation cii 396 | application/vnd.anser-web-funds-transfer-initiation fti 397 | application/vnd.antix.game-component atx 398 | # application/vnd.apache.thrift.binary 399 | # application/vnd.apache.thrift.compact 400 | # application/vnd.apache.thrift.json 401 | # application/vnd.api+json 402 | application/vnd.apple.installer+xml mpkg 403 | application/vnd.apple.mpegurl m3u8 404 | # application/vnd.arastra.swi 405 | application/vnd.aristanetworks.swi swi 406 | # application/vnd.artsquare 407 | application/vnd.astraea-software.iota iota 408 | application/vnd.audiograph aep 409 | # application/vnd.autopackage 410 | # application/vnd.avistar+xml 411 | # application/vnd.balsamiq.bmml+xml 412 | # application/vnd.balsamiq.bmpr 413 | # application/vnd.bekitzur-stech+json 414 | # application/vnd.biopax.rdf+xml 415 | application/vnd.blueice.multipass mpm 416 | # application/vnd.bluetooth.ep.oob 417 | # application/vnd.bluetooth.le.oob 418 | application/vnd.bmi bmi 419 | application/vnd.businessobjects rep 420 | # application/vnd.cab-jscript 421 | # application/vnd.canon-cpdl 422 | # application/vnd.canon-lips 423 | # application/vnd.cendio.thinlinc.clientconf 424 | # application/vnd.century-systems.tcp_stream 425 | application/vnd.chemdraw+xml cdxml 426 | # application/vnd.chess-pgn 427 | application/vnd.chipnuts.karaoke-mmd mmd 428 | application/vnd.cinderella cdy 429 | # application/vnd.cirpack.isdn-ext 430 | # application/vnd.citationstyles.style+xml 431 | application/vnd.claymore cla 432 | application/vnd.cloanto.rp9 rp9 433 | application/vnd.clonk.c4group c4g c4d c4f c4p c4u 434 | application/vnd.cluetrust.cartomobile-config c11amc 435 | application/vnd.cluetrust.cartomobile-config-pkg c11amz 436 | # application/vnd.coffeescript 437 | # application/vnd.collection+json 438 | # application/vnd.collection.doc+json 439 | # application/vnd.collection.next+json 440 | # application/vnd.comicbook+zip 441 | # application/vnd.commerce-battelle 442 | application/vnd.commonspace csp 443 | application/vnd.contact.cmsg cdbcmsg 444 | # application/vnd.coreos.ignition+json 445 | application/vnd.cosmocaller cmc 446 | application/vnd.crick.clicker clkx 447 | application/vnd.crick.clicker.keyboard clkk 448 | application/vnd.crick.clicker.palette clkp 449 | application/vnd.crick.clicker.template clkt 450 | application/vnd.crick.clicker.wordbank clkw 451 | application/vnd.criticaltools.wbs+xml wbs 452 | application/vnd.ctc-posml pml 453 | # application/vnd.ctct.ws+xml 454 | # application/vnd.cups-pdf 455 | # application/vnd.cups-postscript 456 | application/vnd.cups-ppd ppd 457 | # application/vnd.cups-raster 458 | # application/vnd.cups-raw 459 | # application/vnd.curl 460 | application/vnd.curl.car car 461 | application/vnd.curl.pcurl pcurl 462 | # application/vnd.cyan.dean.root+xml 463 | # application/vnd.cybank 464 | application/vnd.dart dart 465 | application/vnd.data-vision.rdz rdz 466 | # application/vnd.debian.binary-package 467 | application/vnd.dece.data uvf uvvf uvd uvvd 468 | application/vnd.dece.ttml+xml uvt uvvt 469 | application/vnd.dece.unspecified uvx uvvx 470 | application/vnd.dece.zip uvz uvvz 471 | application/vnd.denovo.fcselayout-link fe_launch 472 | # application/vnd.desmume.movie 473 | # application/vnd.dir-bi.plate-dl-nosuffix 474 | # application/vnd.dm.delegation+xml 475 | application/vnd.dna dna 476 | # application/vnd.document+json 477 | application/vnd.dolby.mlp mlp 478 | # application/vnd.dolby.mobile.1 479 | # application/vnd.dolby.mobile.2 480 | # application/vnd.doremir.scorecloud-binary-document 481 | application/vnd.dpgraph dpg 482 | application/vnd.dreamfactory dfac 483 | # application/vnd.drive+json 484 | application/vnd.ds-keypoint kpxx 485 | # application/vnd.dtg.local 486 | # application/vnd.dtg.local.flash 487 | # application/vnd.dtg.local.html 488 | application/vnd.dvb.ait ait 489 | # application/vnd.dvb.dvbj 490 | # application/vnd.dvb.esgcontainer 491 | # application/vnd.dvb.ipdcdftnotifaccess 492 | # application/vnd.dvb.ipdcesgaccess 493 | # application/vnd.dvb.ipdcesgaccess2 494 | # application/vnd.dvb.ipdcesgpdd 495 | # application/vnd.dvb.ipdcroaming 496 | # application/vnd.dvb.iptv.alfec-base 497 | # application/vnd.dvb.iptv.alfec-enhancement 498 | # application/vnd.dvb.notif-aggregate-root+xml 499 | # application/vnd.dvb.notif-container+xml 500 | # application/vnd.dvb.notif-generic+xml 501 | # application/vnd.dvb.notif-ia-msglist+xml 502 | # application/vnd.dvb.notif-ia-registration-request+xml 503 | # application/vnd.dvb.notif-ia-registration-response+xml 504 | # application/vnd.dvb.notif-init+xml 505 | # application/vnd.dvb.pfr 506 | application/vnd.dvb.service svc 507 | # application/vnd.dxr 508 | application/vnd.dynageo geo 509 | # application/vnd.dzr 510 | # application/vnd.easykaraoke.cdgdownload 511 | # application/vnd.ecdis-update 512 | application/vnd.ecowin.chart mag 513 | # application/vnd.ecowin.filerequest 514 | # application/vnd.ecowin.fileupdate 515 | # application/vnd.ecowin.series 516 | # application/vnd.ecowin.seriesrequest 517 | # application/vnd.ecowin.seriesupdate 518 | # application/vnd.emclient.accessrequest+xml 519 | application/vnd.enliven nml 520 | # application/vnd.enphase.envoy 521 | # application/vnd.eprints.data+xml 522 | application/vnd.epson.esf esf 523 | application/vnd.epson.msf msf 524 | application/vnd.epson.quickanime qam 525 | application/vnd.epson.salt slt 526 | application/vnd.epson.ssf ssf 527 | # application/vnd.ericsson.quickcall 528 | application/vnd.eszigno3+xml es3 et3 529 | # application/vnd.etsi.aoc+xml 530 | # application/vnd.etsi.asic-e+zip 531 | # application/vnd.etsi.asic-s+zip 532 | # application/vnd.etsi.cug+xml 533 | # application/vnd.etsi.iptvcommand+xml 534 | # application/vnd.etsi.iptvdiscovery+xml 535 | # application/vnd.etsi.iptvprofile+xml 536 | # application/vnd.etsi.iptvsad-bc+xml 537 | # application/vnd.etsi.iptvsad-cod+xml 538 | # application/vnd.etsi.iptvsad-npvr+xml 539 | # application/vnd.etsi.iptvservice+xml 540 | # application/vnd.etsi.iptvsync+xml 541 | # application/vnd.etsi.iptvueprofile+xml 542 | # application/vnd.etsi.mcid+xml 543 | # application/vnd.etsi.mheg5 544 | # application/vnd.etsi.overload-control-policy-dataset+xml 545 | # application/vnd.etsi.pstn+xml 546 | # application/vnd.etsi.sci+xml 547 | # application/vnd.etsi.simservs+xml 548 | # application/vnd.etsi.timestamp-token 549 | # application/vnd.etsi.tsl+xml 550 | # application/vnd.etsi.tsl.der 551 | # application/vnd.eudora.data 552 | application/vnd.ezpix-album ez2 553 | application/vnd.ezpix-package ez3 554 | # application/vnd.f-secure.mobile 555 | # application/vnd.fastcopy-disk-image 556 | application/vnd.fdf fdf 557 | application/vnd.fdsn.mseed mseed 558 | application/vnd.fdsn.seed seed dataless 559 | # application/vnd.ffsns 560 | # application/vnd.filmit.zfc 561 | # application/vnd.fints 562 | # application/vnd.firemonkeys.cloudcell 563 | application/vnd.flographit gph 564 | application/vnd.fluxtime.clip ftc 565 | # application/vnd.font-fontforge-sfd 566 | application/vnd.framemaker fm frame maker book 567 | application/vnd.frogans.fnc fnc 568 | application/vnd.frogans.ltf ltf 569 | application/vnd.fsc.weblaunch fsc 570 | application/vnd.fujitsu.oasys oas 571 | application/vnd.fujitsu.oasys2 oa2 572 | application/vnd.fujitsu.oasys3 oa3 573 | application/vnd.fujitsu.oasysgp fg5 574 | application/vnd.fujitsu.oasysprs bh2 575 | # application/vnd.fujixerox.art-ex 576 | # application/vnd.fujixerox.art4 577 | application/vnd.fujixerox.ddd ddd 578 | application/vnd.fujixerox.docuworks xdw 579 | application/vnd.fujixerox.docuworks.binder xbd 580 | # application/vnd.fujixerox.docuworks.container 581 | # application/vnd.fujixerox.hbpl 582 | # application/vnd.fut-misnet 583 | application/vnd.fuzzysheet fzs 584 | application/vnd.genomatix.tuxedo txd 585 | # application/vnd.geo+json 586 | # application/vnd.geocube+xml 587 | application/vnd.geogebra.file ggb 588 | application/vnd.geogebra.tool ggt 589 | application/vnd.geometry-explorer gex gre 590 | application/vnd.geonext gxt 591 | application/vnd.geoplan g2w 592 | application/vnd.geospace g3w 593 | # application/vnd.gerber 594 | # application/vnd.globalplatform.card-content-mgt 595 | # application/vnd.globalplatform.card-content-mgt-response 596 | application/vnd.gmx gmx 597 | application/vnd.google-earth.kml+xml kml 598 | application/vnd.google-earth.kmz kmz 599 | # application/vnd.gov.sk.e-form+xml 600 | # application/vnd.gov.sk.e-form+zip 601 | # application/vnd.gov.sk.xmldatacontainer+xml 602 | application/vnd.grafeq gqf gqs 603 | # application/vnd.gridmp 604 | application/vnd.groove-account gac 605 | application/vnd.groove-help ghf 606 | application/vnd.groove-identity-message gim 607 | application/vnd.groove-injector grv 608 | application/vnd.groove-tool-message gtm 609 | application/vnd.groove-tool-template tpl 610 | application/vnd.groove-vcard vcg 611 | # application/vnd.hal+json 612 | application/vnd.hal+xml hal 613 | application/vnd.handheld-entertainment+xml zmm 614 | application/vnd.hbci hbci 615 | # application/vnd.hcl-bireports 616 | # application/vnd.hdt 617 | # application/vnd.heroku+json 618 | application/vnd.hhe.lesson-player les 619 | application/vnd.hp-hpgl hpgl 620 | application/vnd.hp-hpid hpid 621 | application/vnd.hp-hps hps 622 | application/vnd.hp-jlyt jlt 623 | application/vnd.hp-pcl pcl 624 | application/vnd.hp-pclxl pclxl 625 | # application/vnd.httphone 626 | application/vnd.hydrostatix.sof-data sfd-hdstx 627 | # application/vnd.hyperdrive+json 628 | # application/vnd.hzn-3d-crossword 629 | # application/vnd.ibm.afplinedata 630 | # application/vnd.ibm.electronic-media 631 | application/vnd.ibm.minipay mpy 632 | application/vnd.ibm.modcap afp listafp list3820 633 | application/vnd.ibm.rights-management irm 634 | application/vnd.ibm.secure-container sc 635 | application/vnd.iccprofile icc icm 636 | # application/vnd.ieee.1905 637 | application/vnd.igloader igl 638 | application/vnd.immervision-ivp ivp 639 | application/vnd.immervision-ivu ivu 640 | # application/vnd.ims.imsccv1p1 641 | # application/vnd.ims.imsccv1p2 642 | # application/vnd.ims.imsccv1p3 643 | # application/vnd.ims.lis.v2.result+json 644 | # application/vnd.ims.lti.v2.toolconsumerprofile+json 645 | # application/vnd.ims.lti.v2.toolproxy+json 646 | # application/vnd.ims.lti.v2.toolproxy.id+json 647 | # application/vnd.ims.lti.v2.toolsettings+json 648 | # application/vnd.ims.lti.v2.toolsettings.simple+json 649 | # application/vnd.informedcontrol.rms+xml 650 | # application/vnd.informix-visionary 651 | # application/vnd.infotech.project 652 | # application/vnd.infotech.project+xml 653 | # application/vnd.innopath.wamp.notification 654 | application/vnd.insors.igm igm 655 | application/vnd.intercon.formnet xpw xpx 656 | application/vnd.intergeo i2g 657 | # application/vnd.intertrust.digibox 658 | # application/vnd.intertrust.nncp 659 | application/vnd.intu.qbo qbo 660 | application/vnd.intu.qfx qfx 661 | # application/vnd.iptc.g2.catalogitem+xml 662 | # application/vnd.iptc.g2.conceptitem+xml 663 | # application/vnd.iptc.g2.knowledgeitem+xml 664 | # application/vnd.iptc.g2.newsitem+xml 665 | # application/vnd.iptc.g2.newsmessage+xml 666 | # application/vnd.iptc.g2.packageitem+xml 667 | # application/vnd.iptc.g2.planningitem+xml 668 | application/vnd.ipunplugged.rcprofile rcprofile 669 | application/vnd.irepository.package+xml irp 670 | application/vnd.is-xpr xpr 671 | application/vnd.isac.fcs fcs 672 | application/vnd.jam jam 673 | # application/vnd.japannet-directory-service 674 | # application/vnd.japannet-jpnstore-wakeup 675 | # application/vnd.japannet-payment-wakeup 676 | # application/vnd.japannet-registration 677 | # application/vnd.japannet-registration-wakeup 678 | # application/vnd.japannet-setstore-wakeup 679 | # application/vnd.japannet-verification 680 | # application/vnd.japannet-verification-wakeup 681 | application/vnd.jcp.javame.midlet-rms rms 682 | application/vnd.jisp jisp 683 | application/vnd.joost.joda-archive joda 684 | # application/vnd.jsk.isdn-ngn 685 | application/vnd.kahootz ktz ktr 686 | application/vnd.kde.karbon karbon 687 | application/vnd.kde.kchart chrt 688 | application/vnd.kde.kformula kfo 689 | application/vnd.kde.kivio flw 690 | application/vnd.kde.kontour kon 691 | application/vnd.kde.kpresenter kpr kpt 692 | application/vnd.kde.kspread ksp 693 | application/vnd.kde.kword kwd kwt 694 | application/vnd.kenameaapp htke 695 | application/vnd.kidspiration kia 696 | application/vnd.kinar kne knp 697 | application/vnd.koan skp skd skt skm 698 | application/vnd.kodak-descriptor sse 699 | application/vnd.las.las+xml lasxml 700 | # application/vnd.liberty-request+xml 701 | application/vnd.llamagraphics.life-balance.desktop lbd 702 | application/vnd.llamagraphics.life-balance.exchange+xml lbe 703 | application/vnd.lotus-1-2-3 123 704 | application/vnd.lotus-approach apr 705 | application/vnd.lotus-freelance pre 706 | application/vnd.lotus-notes nsf 707 | application/vnd.lotus-organizer org 708 | application/vnd.lotus-screencam scm 709 | application/vnd.lotus-wordpro lwp 710 | application/vnd.macports.portpkg portpkg 711 | # application/vnd.mapbox-vector-tile 712 | # application/vnd.marlin.drm.actiontoken+xml 713 | # application/vnd.marlin.drm.conftoken+xml 714 | # application/vnd.marlin.drm.license+xml 715 | # application/vnd.marlin.drm.mdcf 716 | # application/vnd.mason+json 717 | # application/vnd.maxmind.maxmind-db 718 | application/vnd.mcd mcd 719 | application/vnd.medcalcdata mc1 720 | application/vnd.mediastation.cdkey cdkey 721 | # application/vnd.meridian-slingshot 722 | application/vnd.mfer mwf 723 | application/vnd.mfmp mfm 724 | # application/vnd.micro+json 725 | application/vnd.micrografx.flo flo 726 | application/vnd.micrografx.igx igx 727 | # application/vnd.microsoft.portable-executable 728 | # application/vnd.miele+json 729 | application/vnd.mif mif 730 | # application/vnd.minisoft-hp3000-save 731 | # application/vnd.mitsubishi.misty-guard.trustweb 732 | application/vnd.mobius.daf daf 733 | application/vnd.mobius.dis dis 734 | application/vnd.mobius.mbk mbk 735 | application/vnd.mobius.mqy mqy 736 | application/vnd.mobius.msl msl 737 | application/vnd.mobius.plc plc 738 | application/vnd.mobius.txf txf 739 | application/vnd.mophun.application mpn 740 | application/vnd.mophun.certificate mpc 741 | # application/vnd.motorola.flexsuite 742 | # application/vnd.motorola.flexsuite.adsi 743 | # application/vnd.motorola.flexsuite.fis 744 | # application/vnd.motorola.flexsuite.gotap 745 | # application/vnd.motorola.flexsuite.kmr 746 | # application/vnd.motorola.flexsuite.ttc 747 | # application/vnd.motorola.flexsuite.wem 748 | # application/vnd.motorola.iprm 749 | application/vnd.mozilla.xul+xml xul 750 | # application/vnd.ms-3mfdocument 751 | application/vnd.ms-artgalry cil 752 | # application/vnd.ms-asf 753 | application/vnd.ms-cab-compressed cab 754 | # application/vnd.ms-color.iccprofile 755 | application/vnd.ms-excel xls xlm xla xlc xlt xlw 756 | application/vnd.ms-excel.addin.macroenabled.12 xlam 757 | application/vnd.ms-excel.sheet.binary.macroenabled.12 xlsb 758 | application/vnd.ms-excel.sheet.macroenabled.12 xlsm 759 | application/vnd.ms-excel.template.macroenabled.12 xltm 760 | application/vnd.ms-fontobject eot 761 | application/vnd.ms-htmlhelp chm 762 | application/vnd.ms-ims ims 763 | application/vnd.ms-lrm lrm 764 | # application/vnd.ms-office.activex+xml 765 | application/vnd.ms-officetheme thmx 766 | # application/vnd.ms-opentype 767 | # application/vnd.ms-package.obfuscated-opentype 768 | application/vnd.ms-pki.seccat cat 769 | application/vnd.ms-pki.stl stl 770 | # application/vnd.ms-playready.initiator+xml 771 | application/vnd.ms-powerpoint ppt pps pot 772 | application/vnd.ms-powerpoint.addin.macroenabled.12 ppam 773 | application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm 774 | application/vnd.ms-powerpoint.slide.macroenabled.12 sldm 775 | application/vnd.ms-powerpoint.slideshow.macroenabled.12 ppsm 776 | application/vnd.ms-powerpoint.template.macroenabled.12 potm 777 | # application/vnd.ms-printdevicecapabilities+xml 778 | # application/vnd.ms-printing.printticket+xml 779 | # application/vnd.ms-printschematicket+xml 780 | application/vnd.ms-project mpp mpt 781 | # application/vnd.ms-tnef 782 | # application/vnd.ms-windows.devicepairing 783 | # application/vnd.ms-windows.nwprinting.oob 784 | # application/vnd.ms-windows.printerpairing 785 | # application/vnd.ms-windows.wsd.oob 786 | # application/vnd.ms-wmdrm.lic-chlg-req 787 | # application/vnd.ms-wmdrm.lic-resp 788 | # application/vnd.ms-wmdrm.meter-chlg-req 789 | # application/vnd.ms-wmdrm.meter-resp 790 | application/vnd.ms-word.document.macroenabled.12 docm 791 | application/vnd.ms-word.template.macroenabled.12 dotm 792 | application/vnd.ms-works wps wks wcm wdb 793 | application/vnd.ms-wpl wpl 794 | application/vnd.ms-xpsdocument xps 795 | # application/vnd.msa-disk-image 796 | application/vnd.mseq mseq 797 | # application/vnd.msign 798 | # application/vnd.multiad.creator 799 | # application/vnd.multiad.creator.cif 800 | # application/vnd.music-niff 801 | application/vnd.musician mus 802 | application/vnd.muvee.style msty 803 | application/vnd.mynfc taglet 804 | # application/vnd.ncd.control 805 | # application/vnd.ncd.reference 806 | # application/vnd.nervana 807 | # application/vnd.netfpx 808 | application/vnd.neurolanguage.nlu nlu 809 | # application/vnd.nintendo.nitro.rom 810 | # application/vnd.nintendo.snes.rom 811 | application/vnd.nitf ntf nitf 812 | application/vnd.noblenet-directory nnd 813 | application/vnd.noblenet-sealer nns 814 | application/vnd.noblenet-web nnw 815 | # application/vnd.nokia.catalogs 816 | # application/vnd.nokia.conml+wbxml 817 | # application/vnd.nokia.conml+xml 818 | # application/vnd.nokia.iptv.config+xml 819 | # application/vnd.nokia.isds-radio-presets 820 | # application/vnd.nokia.landmark+wbxml 821 | # application/vnd.nokia.landmark+xml 822 | # application/vnd.nokia.landmarkcollection+xml 823 | # application/vnd.nokia.n-gage.ac+xml 824 | application/vnd.nokia.n-gage.data ngdat 825 | application/vnd.nokia.n-gage.symbian.install n-gage 826 | # application/vnd.nokia.ncd 827 | # application/vnd.nokia.pcd+wbxml 828 | # application/vnd.nokia.pcd+xml 829 | application/vnd.nokia.radio-preset rpst 830 | application/vnd.nokia.radio-presets rpss 831 | application/vnd.novadigm.edm edm 832 | application/vnd.novadigm.edx edx 833 | application/vnd.novadigm.ext ext 834 | # application/vnd.ntt-local.content-share 835 | # application/vnd.ntt-local.file-transfer 836 | # application/vnd.ntt-local.ogw_remote-access 837 | # application/vnd.ntt-local.sip-ta_remote 838 | # application/vnd.ntt-local.sip-ta_tcp_stream 839 | application/vnd.oasis.opendocument.chart odc 840 | application/vnd.oasis.opendocument.chart-template otc 841 | application/vnd.oasis.opendocument.database odb 842 | application/vnd.oasis.opendocument.formula odf 843 | application/vnd.oasis.opendocument.formula-template odft 844 | application/vnd.oasis.opendocument.graphics odg 845 | application/vnd.oasis.opendocument.graphics-template otg 846 | application/vnd.oasis.opendocument.image odi 847 | application/vnd.oasis.opendocument.image-template oti 848 | application/vnd.oasis.opendocument.presentation odp 849 | application/vnd.oasis.opendocument.presentation-template otp 850 | application/vnd.oasis.opendocument.spreadsheet ods 851 | application/vnd.oasis.opendocument.spreadsheet-template ots 852 | application/vnd.oasis.opendocument.text odt 853 | application/vnd.oasis.opendocument.text-master odm 854 | application/vnd.oasis.opendocument.text-template ott 855 | application/vnd.oasis.opendocument.text-web oth 856 | # application/vnd.obn 857 | # application/vnd.oftn.l10n+json 858 | # application/vnd.oipf.contentaccessdownload+xml 859 | # application/vnd.oipf.contentaccessstreaming+xml 860 | # application/vnd.oipf.cspg-hexbinary 861 | # application/vnd.oipf.dae.svg+xml 862 | # application/vnd.oipf.dae.xhtml+xml 863 | # application/vnd.oipf.mippvcontrolmessage+xml 864 | # application/vnd.oipf.pae.gem 865 | # application/vnd.oipf.spdiscovery+xml 866 | # application/vnd.oipf.spdlist+xml 867 | # application/vnd.oipf.ueprofile+xml 868 | # application/vnd.oipf.userprofile+xml 869 | application/vnd.olpc-sugar xo 870 | # application/vnd.oma-scws-config 871 | # application/vnd.oma-scws-http-request 872 | # application/vnd.oma-scws-http-response 873 | # application/vnd.oma.bcast.associated-procedure-parameter+xml 874 | # application/vnd.oma.bcast.drm-trigger+xml 875 | # application/vnd.oma.bcast.imd+xml 876 | # application/vnd.oma.bcast.ltkm 877 | # application/vnd.oma.bcast.notification+xml 878 | # application/vnd.oma.bcast.provisioningtrigger 879 | # application/vnd.oma.bcast.sgboot 880 | # application/vnd.oma.bcast.sgdd+xml 881 | # application/vnd.oma.bcast.sgdu 882 | # application/vnd.oma.bcast.simple-symbol-container 883 | # application/vnd.oma.bcast.smartcard-trigger+xml 884 | # application/vnd.oma.bcast.sprov+xml 885 | # application/vnd.oma.bcast.stkm 886 | # application/vnd.oma.cab-address-book+xml 887 | # application/vnd.oma.cab-feature-handler+xml 888 | # application/vnd.oma.cab-pcc+xml 889 | # application/vnd.oma.cab-subs-invite+xml 890 | # application/vnd.oma.cab-user-prefs+xml 891 | # application/vnd.oma.dcd 892 | # application/vnd.oma.dcdc 893 | application/vnd.oma.dd2+xml dd2 894 | # application/vnd.oma.drm.risd+xml 895 | # application/vnd.oma.group-usage-list+xml 896 | # application/vnd.oma.lwm2m+json 897 | # application/vnd.oma.lwm2m+tlv 898 | # application/vnd.oma.pal+xml 899 | # application/vnd.oma.poc.detailed-progress-report+xml 900 | # application/vnd.oma.poc.final-report+xml 901 | # application/vnd.oma.poc.groups+xml 902 | # application/vnd.oma.poc.invocation-descriptor+xml 903 | # application/vnd.oma.poc.optimized-progress-report+xml 904 | # application/vnd.oma.push 905 | # application/vnd.oma.scidm.messages+xml 906 | # application/vnd.oma.xcap-directory+xml 907 | # application/vnd.omads-email+xml 908 | # application/vnd.omads-file+xml 909 | # application/vnd.omads-folder+xml 910 | # application/vnd.omaloc-supl-init 911 | # application/vnd.onepager 912 | # application/vnd.openblox.game+xml 913 | # application/vnd.openblox.game-binary 914 | # application/vnd.openeye.oeb 915 | application/vnd.openofficeorg.extension oxt 916 | # application/vnd.openxmlformats-officedocument.custom-properties+xml 917 | # application/vnd.openxmlformats-officedocument.customxmlproperties+xml 918 | # application/vnd.openxmlformats-officedocument.drawing+xml 919 | # application/vnd.openxmlformats-officedocument.drawingml.chart+xml 920 | # application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml 921 | # application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml 922 | # application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml 923 | # application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml 924 | # application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml 925 | # application/vnd.openxmlformats-officedocument.extended-properties+xml 926 | # application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml 927 | # application/vnd.openxmlformats-officedocument.presentationml.comments+xml 928 | # application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml 929 | # application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml 930 | # application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml 931 | application/vnd.openxmlformats-officedocument.presentationml.presentation pptx 932 | # application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml 933 | # application/vnd.openxmlformats-officedocument.presentationml.presprops+xml 934 | application/vnd.openxmlformats-officedocument.presentationml.slide sldx 935 | # application/vnd.openxmlformats-officedocument.presentationml.slide+xml 936 | # application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml 937 | # application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml 938 | application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx 939 | # application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml 940 | # application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml 941 | # application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml 942 | # application/vnd.openxmlformats-officedocument.presentationml.tags+xml 943 | application/vnd.openxmlformats-officedocument.presentationml.template potx 944 | # application/vnd.openxmlformats-officedocument.presentationml.template.main+xml 945 | # application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml 946 | # application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml 947 | # application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml 948 | # application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml 949 | # application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml 950 | # application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml 951 | # application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml 952 | # application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml 953 | # application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml 954 | # application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml 955 | # application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml 956 | # application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml 957 | # application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml 958 | # application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml 959 | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx 960 | # application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml 961 | # application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml 962 | # application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml 963 | # application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml 964 | # application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml 965 | application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx 966 | # application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml 967 | # application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml 968 | # application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml 969 | # application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml 970 | # application/vnd.openxmlformats-officedocument.theme+xml 971 | # application/vnd.openxmlformats-officedocument.themeoverride+xml 972 | # application/vnd.openxmlformats-officedocument.vmldrawing 973 | # application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml 974 | application/vnd.openxmlformats-officedocument.wordprocessingml.document docx 975 | # application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml 976 | # application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml 977 | # application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml 978 | # application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml 979 | # application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml 980 | # application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml 981 | # application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml 982 | # application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml 983 | # application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml 984 | application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx 985 | # application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml 986 | # application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml 987 | # application/vnd.openxmlformats-package.core-properties+xml 988 | # application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml 989 | # application/vnd.openxmlformats-package.relationships+xml 990 | # application/vnd.oracle.resource+json 991 | # application/vnd.orange.indata 992 | # application/vnd.osa.netdeploy 993 | application/vnd.osgeo.mapguide.package mgp 994 | # application/vnd.osgi.bundle 995 | application/vnd.osgi.dp dp 996 | application/vnd.osgi.subsystem esa 997 | # application/vnd.otps.ct-kip+xml 998 | # application/vnd.oxli.countgraph 999 | # application/vnd.pagerduty+json 1000 | application/vnd.palm pdb pqa oprc 1001 | # application/vnd.panoply 1002 | # application/vnd.paos.xml 1003 | application/vnd.pawaafile paw 1004 | # application/vnd.pcos 1005 | application/vnd.pg.format str 1006 | application/vnd.pg.osasli ei6 1007 | # application/vnd.piaccess.application-licence 1008 | application/vnd.picsel efif 1009 | application/vnd.pmi.widget wg 1010 | # application/vnd.poc.group-advertisement+xml 1011 | application/vnd.pocketlearn plf 1012 | application/vnd.powerbuilder6 pbd 1013 | # application/vnd.powerbuilder6-s 1014 | # application/vnd.powerbuilder7 1015 | # application/vnd.powerbuilder7-s 1016 | # application/vnd.powerbuilder75 1017 | # application/vnd.powerbuilder75-s 1018 | # application/vnd.preminet 1019 | application/vnd.previewsystems.box box 1020 | application/vnd.proteus.magazine mgz 1021 | application/vnd.publishare-delta-tree qps 1022 | application/vnd.pvi.ptid1 ptid 1023 | # application/vnd.pwg-multiplexed 1024 | # application/vnd.pwg-xhtml-print+xml 1025 | # application/vnd.qualcomm.brew-app-res 1026 | # application/vnd.quarantainenet 1027 | application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb 1028 | # application/vnd.quobject-quoxdocument 1029 | # application/vnd.radisys.moml+xml 1030 | # application/vnd.radisys.msml+xml 1031 | # application/vnd.radisys.msml-audit+xml 1032 | # application/vnd.radisys.msml-audit-conf+xml 1033 | # application/vnd.radisys.msml-audit-conn+xml 1034 | # application/vnd.radisys.msml-audit-dialog+xml 1035 | # application/vnd.radisys.msml-audit-stream+xml 1036 | # application/vnd.radisys.msml-conf+xml 1037 | # application/vnd.radisys.msml-dialog+xml 1038 | # application/vnd.radisys.msml-dialog-base+xml 1039 | # application/vnd.radisys.msml-dialog-fax-detect+xml 1040 | # application/vnd.radisys.msml-dialog-fax-sendrecv+xml 1041 | # application/vnd.radisys.msml-dialog-group+xml 1042 | # application/vnd.radisys.msml-dialog-speech+xml 1043 | # application/vnd.radisys.msml-dialog-transform+xml 1044 | # application/vnd.rainstor.data 1045 | # application/vnd.rapid 1046 | # application/vnd.rar 1047 | application/vnd.realvnc.bed bed 1048 | application/vnd.recordare.musicxml mxl 1049 | application/vnd.recordare.musicxml+xml musicxml 1050 | # application/vnd.renlearn.rlprint 1051 | application/vnd.rig.cryptonote cryptonote 1052 | application/vnd.rim.cod cod 1053 | application/vnd.rn-realmedia rm 1054 | application/vnd.rn-realmedia-vbr rmvb 1055 | application/vnd.route66.link66+xml link66 1056 | # application/vnd.rs-274x 1057 | # application/vnd.ruckus.download 1058 | # application/vnd.s3sms 1059 | application/vnd.sailingtracker.track st 1060 | # application/vnd.sbm.cid 1061 | # application/vnd.sbm.mid2 1062 | # application/vnd.scribus 1063 | # application/vnd.sealed.3df 1064 | # application/vnd.sealed.csf 1065 | # application/vnd.sealed.doc 1066 | # application/vnd.sealed.eml 1067 | # application/vnd.sealed.mht 1068 | # application/vnd.sealed.net 1069 | # application/vnd.sealed.ppt 1070 | # application/vnd.sealed.tiff 1071 | # application/vnd.sealed.xls 1072 | # application/vnd.sealedmedia.softseal.html 1073 | # application/vnd.sealedmedia.softseal.pdf 1074 | application/vnd.seemail see 1075 | application/vnd.sema sema 1076 | application/vnd.semd semd 1077 | application/vnd.semf semf 1078 | application/vnd.shana.informed.formdata ifm 1079 | application/vnd.shana.informed.formtemplate itp 1080 | application/vnd.shana.informed.interchange iif 1081 | application/vnd.shana.informed.package ipk 1082 | application/vnd.simtech-mindmapper twd twds 1083 | # application/vnd.siren+json 1084 | application/vnd.smaf mmf 1085 | # application/vnd.smart.notebook 1086 | application/vnd.smart.teacher teacher 1087 | # application/vnd.software602.filler.form+xml 1088 | # application/vnd.software602.filler.form-xml-zip 1089 | application/vnd.solent.sdkm+xml sdkm sdkd 1090 | application/vnd.spotfire.dxp dxp 1091 | application/vnd.spotfire.sfs sfs 1092 | # application/vnd.sss-cod 1093 | # application/vnd.sss-dtf 1094 | # application/vnd.sss-ntf 1095 | application/vnd.stardivision.calc sdc 1096 | application/vnd.stardivision.draw sda 1097 | application/vnd.stardivision.impress sdd 1098 | application/vnd.stardivision.math smf 1099 | application/vnd.stardivision.writer sdw vor 1100 | application/vnd.stardivision.writer-global sgl 1101 | application/vnd.stepmania.package smzip 1102 | application/vnd.stepmania.stepchart sm 1103 | # application/vnd.street-stream 1104 | # application/vnd.sun.wadl+xml 1105 | application/vnd.sun.xml.calc sxc 1106 | application/vnd.sun.xml.calc.template stc 1107 | application/vnd.sun.xml.draw sxd 1108 | application/vnd.sun.xml.draw.template std 1109 | application/vnd.sun.xml.impress sxi 1110 | application/vnd.sun.xml.impress.template sti 1111 | application/vnd.sun.xml.math sxm 1112 | application/vnd.sun.xml.writer sxw 1113 | application/vnd.sun.xml.writer.global sxg 1114 | application/vnd.sun.xml.writer.template stw 1115 | application/vnd.sus-calendar sus susp 1116 | application/vnd.svd svd 1117 | # application/vnd.swiftview-ics 1118 | application/vnd.symbian.install sis sisx 1119 | application/vnd.syncml+xml xsm 1120 | application/vnd.syncml.dm+wbxml bdm 1121 | application/vnd.syncml.dm+xml xdm 1122 | # application/vnd.syncml.dm.notification 1123 | # application/vnd.syncml.dmddf+wbxml 1124 | # application/vnd.syncml.dmddf+xml 1125 | # application/vnd.syncml.dmtnds+wbxml 1126 | # application/vnd.syncml.dmtnds+xml 1127 | # application/vnd.syncml.ds.notification 1128 | application/vnd.tao.intent-module-archive tao 1129 | application/vnd.tcpdump.pcap pcap cap dmp 1130 | # application/vnd.tmd.mediaflex.api+xml 1131 | # application/vnd.tml 1132 | application/vnd.tmobile-livetv tmo 1133 | application/vnd.trid.tpt tpt 1134 | application/vnd.triscape.mxs mxs 1135 | application/vnd.trueapp tra 1136 | # application/vnd.truedoc 1137 | # application/vnd.ubisoft.webplayer 1138 | application/vnd.ufdl ufd ufdl 1139 | application/vnd.uiq.theme utz 1140 | application/vnd.umajin umj 1141 | application/vnd.unity unityweb 1142 | application/vnd.uoml+xml uoml 1143 | # application/vnd.uplanet.alert 1144 | # application/vnd.uplanet.alert-wbxml 1145 | # application/vnd.uplanet.bearer-choice 1146 | # application/vnd.uplanet.bearer-choice-wbxml 1147 | # application/vnd.uplanet.cacheop 1148 | # application/vnd.uplanet.cacheop-wbxml 1149 | # application/vnd.uplanet.channel 1150 | # application/vnd.uplanet.channel-wbxml 1151 | # application/vnd.uplanet.list 1152 | # application/vnd.uplanet.list-wbxml 1153 | # application/vnd.uplanet.listcmd 1154 | # application/vnd.uplanet.listcmd-wbxml 1155 | # application/vnd.uplanet.signal 1156 | # application/vnd.uri-map 1157 | # application/vnd.valve.source.material 1158 | application/vnd.vcx vcx 1159 | # application/vnd.vd-study 1160 | # application/vnd.vectorworks 1161 | # application/vnd.vel+json 1162 | # application/vnd.verimatrix.vcas 1163 | # application/vnd.vidsoft.vidconference 1164 | application/vnd.visio vsd vst vss vsw 1165 | application/vnd.visionary vis 1166 | # application/vnd.vividence.scriptfile 1167 | application/vnd.vsf vsf 1168 | # application/vnd.wap.sic 1169 | # application/vnd.wap.slc 1170 | application/vnd.wap.wbxml wbxml 1171 | application/vnd.wap.wmlc wmlc 1172 | application/vnd.wap.wmlscriptc wmlsc 1173 | application/vnd.webturbo wtb 1174 | # application/vnd.wfa.p2p 1175 | # application/vnd.wfa.wsc 1176 | # application/vnd.windows.devicepairing 1177 | # application/vnd.wmc 1178 | # application/vnd.wmf.bootstrap 1179 | # application/vnd.wolfram.mathematica 1180 | # application/vnd.wolfram.mathematica.package 1181 | application/vnd.wolfram.player nbp 1182 | application/vnd.wordperfect wpd 1183 | application/vnd.wqd wqd 1184 | # application/vnd.wrq-hp3000-labelled 1185 | application/vnd.wt.stf stf 1186 | # application/vnd.wv.csp+wbxml 1187 | # application/vnd.wv.csp+xml 1188 | # application/vnd.wv.ssp+xml 1189 | # application/vnd.xacml+json 1190 | application/vnd.xara xar 1191 | application/vnd.xfdl xfdl 1192 | # application/vnd.xfdl.webform 1193 | # application/vnd.xmi+xml 1194 | # application/vnd.xmpie.cpkg 1195 | # application/vnd.xmpie.dpkg 1196 | # application/vnd.xmpie.plan 1197 | # application/vnd.xmpie.ppkg 1198 | # application/vnd.xmpie.xlim 1199 | application/vnd.yamaha.hv-dic hvd 1200 | application/vnd.yamaha.hv-script hvs 1201 | application/vnd.yamaha.hv-voice hvp 1202 | application/vnd.yamaha.openscoreformat osf 1203 | application/vnd.yamaha.openscoreformat.osfpvg+xml osfpvg 1204 | # application/vnd.yamaha.remote-setup 1205 | application/vnd.yamaha.smaf-audio saf 1206 | application/vnd.yamaha.smaf-phrase spf 1207 | # application/vnd.yamaha.through-ngn 1208 | # application/vnd.yamaha.tunnel-udpencap 1209 | # application/vnd.yaoweme 1210 | application/vnd.yellowriver-custom-menu cmp 1211 | application/vnd.zul zir zirz 1212 | application/vnd.zzazz.deck+xml zaz 1213 | application/voicexml+xml vxml 1214 | # application/vq-rtcpxr 1215 | # application/watcherinfo+xml 1216 | # application/whoispp-query 1217 | # application/whoispp-response 1218 | application/widget wgt 1219 | application/winhlp hlp 1220 | # application/wita 1221 | # application/wordperfect5.1 1222 | application/wsdl+xml wsdl 1223 | application/wspolicy+xml wspolicy 1224 | application/x-7z-compressed 7z 1225 | application/x-abiword abw 1226 | application/x-ace-compressed ace 1227 | # application/x-amf 1228 | application/x-apple-diskimage dmg 1229 | application/x-authorware-bin aab x32 u32 vox 1230 | application/x-authorware-map aam 1231 | application/x-authorware-seg aas 1232 | application/x-bcpio bcpio 1233 | application/x-bittorrent torrent 1234 | application/x-blorb blb blorb 1235 | application/x-bzip bz 1236 | application/x-bzip2 bz2 boz 1237 | application/x-cbr cbr cba cbt cbz cb7 1238 | application/x-cdlink vcd 1239 | application/x-cfs-compressed cfs 1240 | application/x-chat chat 1241 | application/x-chess-pgn pgn 1242 | # application/x-compress 1243 | application/x-conference nsc 1244 | application/x-cpio cpio 1245 | application/x-csh csh 1246 | application/x-debian-package deb udeb 1247 | application/x-dgc-compressed dgc 1248 | application/x-director dir dcr dxr cst cct cxt w3d fgd swa 1249 | application/x-doom wad 1250 | application/x-dtbncx+xml ncx 1251 | application/x-dtbook+xml dtb 1252 | application/x-dtbresource+xml res 1253 | application/x-dvi dvi 1254 | application/x-envoy evy 1255 | application/x-eva eva 1256 | application/x-font-bdf bdf 1257 | # application/x-font-dos 1258 | # application/x-font-framemaker 1259 | application/x-font-ghostscript gsf 1260 | # application/x-font-libgrx 1261 | application/x-font-linux-psf psf 1262 | application/x-font-pcf pcf 1263 | application/x-font-snf snf 1264 | # application/x-font-speedo 1265 | # application/x-font-sunos-news 1266 | application/x-font-type1 pfa pfb pfm afm 1267 | # application/x-font-vfont 1268 | application/x-freearc arc 1269 | application/x-futuresplash spl 1270 | application/x-gca-compressed gca 1271 | application/x-glulx ulx 1272 | application/x-gnumeric gnumeric 1273 | application/x-gramps-xml gramps 1274 | application/x-gtar gtar 1275 | # application/x-gzip 1276 | application/x-hdf hdf 1277 | application/x-install-instructions install 1278 | application/x-iso9660-image iso 1279 | application/x-java-jnlp-file jnlp 1280 | application/x-latex latex 1281 | application/x-lzh-compressed lzh lha 1282 | application/x-mie mie 1283 | application/x-mobipocket-ebook prc mobi 1284 | application/x-ms-application application 1285 | application/x-ms-shortcut lnk 1286 | application/x-ms-wmd wmd 1287 | application/x-ms-wmz wmz 1288 | application/x-ms-xbap xbap 1289 | application/x-msaccess mdb 1290 | application/x-msbinder obd 1291 | application/x-mscardfile crd 1292 | application/x-msclip clp 1293 | application/x-msdownload exe dll com bat msi 1294 | application/x-msmediaview mvb m13 m14 1295 | application/x-msmetafile wmf wmz emf emz 1296 | application/x-msmoney mny 1297 | application/x-mspublisher pub 1298 | application/x-msschedule scd 1299 | application/x-msterminal trm 1300 | application/x-mswrite wri 1301 | application/x-netcdf nc cdf 1302 | application/x-nzb nzb 1303 | application/x-pkcs12 p12 pfx 1304 | application/x-pkcs7-certificates p7b spc 1305 | application/x-pkcs7-certreqresp p7r 1306 | application/x-rar-compressed rar 1307 | application/x-research-info-systems ris 1308 | application/x-sh sh 1309 | application/x-shar shar 1310 | application/x-shockwave-flash swf 1311 | application/x-silverlight-app xap 1312 | application/x-sql sql 1313 | application/x-stuffit sit 1314 | application/x-stuffitx sitx 1315 | application/x-subrip srt 1316 | application/x-sv4cpio sv4cpio 1317 | application/x-sv4crc sv4crc 1318 | application/x-t3vm-image t3 1319 | application/x-tads gam 1320 | application/x-tar tar 1321 | application/x-tcl tcl 1322 | application/x-tex tex 1323 | application/x-tex-tfm tfm 1324 | application/x-texinfo texinfo texi 1325 | application/x-tgif obj 1326 | application/x-ustar ustar 1327 | application/x-wais-source src 1328 | # application/x-www-form-urlencoded 1329 | application/x-x509-ca-cert der crt 1330 | application/x-xfig fig 1331 | application/x-xliff+xml xlf 1332 | application/x-xpinstall xpi 1333 | application/x-xz xz 1334 | application/x-zmachine z1 z2 z3 z4 z5 z6 z7 z8 1335 | # application/x400-bp 1336 | # application/xacml+xml 1337 | application/xaml+xml xaml 1338 | # application/xcap-att+xml 1339 | # application/xcap-caps+xml 1340 | application/xcap-diff+xml xdf 1341 | # application/xcap-el+xml 1342 | # application/xcap-error+xml 1343 | # application/xcap-ns+xml 1344 | # application/xcon-conference-info+xml 1345 | # application/xcon-conference-info-diff+xml 1346 | application/xenc+xml xenc 1347 | application/xhtml+xml xhtml xht 1348 | # application/xhtml-voice+xml 1349 | application/xml xml xsl 1350 | application/xml-dtd dtd 1351 | # application/xml-external-parsed-entity 1352 | # application/xml-patch+xml 1353 | # application/xmpp+xml 1354 | application/xop+xml xop 1355 | application/xproc+xml xpl 1356 | application/xslt+xml xslt 1357 | application/xspf+xml xspf 1358 | application/xv+xml mxml xhvml xvml xvm 1359 | application/yang yang 1360 | application/yin+xml yin 1361 | application/zip zip 1362 | # application/zlib 1363 | # audio/1d-interleaved-parityfec 1364 | # audio/32kadpcm 1365 | # audio/3gpp 1366 | # audio/3gpp2 1367 | # audio/ac3 1368 | audio/adpcm adp 1369 | # audio/amr 1370 | # audio/amr-wb 1371 | # audio/amr-wb+ 1372 | # audio/aptx 1373 | # audio/asc 1374 | # audio/atrac-advanced-lossless 1375 | # audio/atrac-x 1376 | # audio/atrac3 1377 | audio/basic au snd 1378 | # audio/bv16 1379 | # audio/bv32 1380 | # audio/clearmode 1381 | # audio/cn 1382 | # audio/dat12 1383 | # audio/dls 1384 | # audio/dsr-es201108 1385 | # audio/dsr-es202050 1386 | # audio/dsr-es202211 1387 | # audio/dsr-es202212 1388 | # audio/dv 1389 | # audio/dvi4 1390 | # audio/eac3 1391 | # audio/encaprtp 1392 | # audio/evrc 1393 | # audio/evrc-qcp 1394 | # audio/evrc0 1395 | # audio/evrc1 1396 | # audio/evrcb 1397 | # audio/evrcb0 1398 | # audio/evrcb1 1399 | # audio/evrcnw 1400 | # audio/evrcnw0 1401 | # audio/evrcnw1 1402 | # audio/evrcwb 1403 | # audio/evrcwb0 1404 | # audio/evrcwb1 1405 | # audio/evs 1406 | # audio/example 1407 | # audio/fwdred 1408 | # audio/g711-0 1409 | # audio/g719 1410 | # audio/g722 1411 | # audio/g7221 1412 | # audio/g723 1413 | # audio/g726-16 1414 | # audio/g726-24 1415 | # audio/g726-32 1416 | # audio/g726-40 1417 | # audio/g728 1418 | # audio/g729 1419 | # audio/g7291 1420 | # audio/g729d 1421 | # audio/g729e 1422 | # audio/gsm 1423 | # audio/gsm-efr 1424 | # audio/gsm-hr-08 1425 | # audio/ilbc 1426 | # audio/ip-mr_v2.5 1427 | # audio/isac 1428 | # audio/l16 1429 | # audio/l20 1430 | # audio/l24 1431 | # audio/l8 1432 | # audio/lpc 1433 | audio/midi mid midi kar rmi 1434 | # audio/mobile-xmf 1435 | audio/mp4 m4a mp4a 1436 | # audio/mp4a-latm 1437 | # audio/mpa 1438 | # audio/mpa-robust 1439 | audio/mpeg mpga mp2 mp2a mp3 m2a m3a 1440 | # audio/mpeg4-generic 1441 | # audio/musepack 1442 | audio/ogg oga ogg spx 1443 | # audio/opus 1444 | # audio/parityfec 1445 | # audio/pcma 1446 | # audio/pcma-wb 1447 | # audio/pcmu 1448 | # audio/pcmu-wb 1449 | # audio/prs.sid 1450 | # audio/qcelp 1451 | # audio/raptorfec 1452 | # audio/red 1453 | # audio/rtp-enc-aescm128 1454 | # audio/rtp-midi 1455 | # audio/rtploopback 1456 | # audio/rtx 1457 | audio/s3m s3m 1458 | audio/silk sil 1459 | # audio/smv 1460 | # audio/smv-qcp 1461 | # audio/smv0 1462 | # audio/sp-midi 1463 | # audio/speex 1464 | # audio/t140c 1465 | # audio/t38 1466 | # audio/telephone-event 1467 | # audio/tone 1468 | # audio/uemclip 1469 | # audio/ulpfec 1470 | # audio/vdvi 1471 | # audio/vmr-wb 1472 | # audio/vnd.3gpp.iufp 1473 | # audio/vnd.4sb 1474 | # audio/vnd.audiokoz 1475 | # audio/vnd.celp 1476 | # audio/vnd.cisco.nse 1477 | # audio/vnd.cmles.radio-events 1478 | # audio/vnd.cns.anp1 1479 | # audio/vnd.cns.inf1 1480 | audio/vnd.dece.audio uva uvva 1481 | audio/vnd.digital-winds eol 1482 | # audio/vnd.dlna.adts 1483 | # audio/vnd.dolby.heaac.1 1484 | # audio/vnd.dolby.heaac.2 1485 | # audio/vnd.dolby.mlp 1486 | # audio/vnd.dolby.mps 1487 | # audio/vnd.dolby.pl2 1488 | # audio/vnd.dolby.pl2x 1489 | # audio/vnd.dolby.pl2z 1490 | # audio/vnd.dolby.pulse.1 1491 | audio/vnd.dra dra 1492 | audio/vnd.dts dts 1493 | audio/vnd.dts.hd dtshd 1494 | # audio/vnd.dvb.file 1495 | # audio/vnd.everad.plj 1496 | # audio/vnd.hns.audio 1497 | audio/vnd.lucent.voice lvp 1498 | audio/vnd.ms-playready.media.pya pya 1499 | # audio/vnd.nokia.mobile-xmf 1500 | # audio/vnd.nortel.vbk 1501 | audio/vnd.nuera.ecelp4800 ecelp4800 1502 | audio/vnd.nuera.ecelp7470 ecelp7470 1503 | audio/vnd.nuera.ecelp9600 ecelp9600 1504 | # audio/vnd.octel.sbc 1505 | # audio/vnd.qcelp 1506 | # audio/vnd.rhetorex.32kadpcm 1507 | audio/vnd.rip rip 1508 | # audio/vnd.sealedmedia.softseal.mpeg 1509 | # audio/vnd.vmx.cvsd 1510 | # audio/vorbis 1511 | # audio/vorbis-config 1512 | audio/webm weba 1513 | audio/x-aac aac 1514 | audio/x-aiff aif aiff aifc 1515 | audio/x-caf caf 1516 | audio/x-flac flac 1517 | audio/x-matroska mka 1518 | audio/x-mpegurl m3u 1519 | audio/x-ms-wax wax 1520 | audio/x-ms-wma wma 1521 | audio/x-pn-realaudio ram ra 1522 | audio/x-pn-realaudio-plugin rmp 1523 | # audio/x-tta 1524 | audio/x-wav wav 1525 | audio/xm xm 1526 | chemical/x-cdx cdx 1527 | chemical/x-cif cif 1528 | chemical/x-cmdf cmdf 1529 | chemical/x-cml cml 1530 | chemical/x-csml csml 1531 | # chemical/x-pdb 1532 | chemical/x-xyz xyz 1533 | font/collection ttc 1534 | font/otf otf 1535 | # font/sfnt 1536 | font/ttf ttf 1537 | font/woff woff 1538 | font/woff2 woff2 1539 | image/bmp bmp 1540 | image/cgm cgm 1541 | # image/dicom-rle 1542 | # image/emf 1543 | # image/example 1544 | # image/fits 1545 | image/g3fax g3 1546 | image/gif gif 1547 | image/ief ief 1548 | # image/jls 1549 | # image/jp2 1550 | image/jpeg jpeg jpg jpe 1551 | # image/jpm 1552 | # image/jpx 1553 | image/ktx ktx 1554 | # image/naplps 1555 | image/png png 1556 | image/prs.btif btif 1557 | # image/prs.pti 1558 | # image/pwg-raster 1559 | image/sgi sgi 1560 | image/svg+xml svg svgz 1561 | # image/t38 1562 | image/tiff tiff tif 1563 | # image/tiff-fx 1564 | image/vnd.adobe.photoshop psd 1565 | # image/vnd.airzip.accelerator.azv 1566 | # image/vnd.cns.inf2 1567 | image/vnd.dece.graphic uvi uvvi uvg uvvg 1568 | image/vnd.djvu djvu djv 1569 | image/vnd.dvb.subtitle sub 1570 | image/vnd.dwg dwg 1571 | image/vnd.dxf dxf 1572 | image/vnd.fastbidsheet fbs 1573 | image/vnd.fpx fpx 1574 | image/vnd.fst fst 1575 | image/vnd.fujixerox.edmics-mmr mmr 1576 | image/vnd.fujixerox.edmics-rlc rlc 1577 | # image/vnd.globalgraphics.pgb 1578 | # image/vnd.microsoft.icon 1579 | # image/vnd.mix 1580 | # image/vnd.mozilla.apng 1581 | image/vnd.ms-modi mdi 1582 | image/vnd.ms-photo wdp 1583 | image/vnd.net-fpx npx 1584 | # image/vnd.radiance 1585 | # image/vnd.sealed.png 1586 | # image/vnd.sealedmedia.softseal.gif 1587 | # image/vnd.sealedmedia.softseal.jpg 1588 | # image/vnd.svf 1589 | # image/vnd.tencent.tap 1590 | # image/vnd.valve.source.texture 1591 | image/vnd.wap.wbmp wbmp 1592 | image/vnd.xiff xif 1593 | # image/vnd.zbrush.pcx 1594 | image/webp webp 1595 | # image/wmf 1596 | image/x-3ds 3ds 1597 | image/x-cmu-raster ras 1598 | image/x-cmx cmx 1599 | image/x-freehand fh fhc fh4 fh5 fh7 1600 | image/x-icon ico 1601 | image/x-mrsid-image sid 1602 | image/x-pcx pcx 1603 | image/x-pict pic pct 1604 | image/x-portable-anymap pnm 1605 | image/x-portable-bitmap pbm 1606 | image/x-portable-graymap pgm 1607 | image/x-portable-pixmap ppm 1608 | image/x-rgb rgb 1609 | image/x-tga tga 1610 | image/x-xbitmap xbm 1611 | image/x-xpixmap xpm 1612 | image/x-xwindowdump xwd 1613 | # message/cpim 1614 | # message/delivery-status 1615 | # message/disposition-notification 1616 | # message/example 1617 | # message/external-body 1618 | # message/feedback-report 1619 | # message/global 1620 | # message/global-delivery-status 1621 | # message/global-disposition-notification 1622 | # message/global-headers 1623 | # message/http 1624 | # message/imdn+xml 1625 | # message/news 1626 | # message/partial 1627 | message/rfc822 eml mime 1628 | # message/s-http 1629 | # message/sip 1630 | # message/sipfrag 1631 | # message/tracking-status 1632 | # message/vnd.si.simp 1633 | # message/vnd.wfa.wsc 1634 | # model/example 1635 | # model/gltf+json 1636 | model/iges igs iges 1637 | model/mesh msh mesh silo 1638 | model/vnd.collada+xml dae 1639 | model/vnd.dwf dwf 1640 | # model/vnd.flatland.3dml 1641 | model/vnd.gdl gdl 1642 | # model/vnd.gs-gdl 1643 | # model/vnd.gs.gdl 1644 | model/vnd.gtw gtw 1645 | # model/vnd.moml+xml 1646 | model/vnd.mts mts 1647 | # model/vnd.opengex 1648 | # model/vnd.parasolid.transmit.binary 1649 | # model/vnd.parasolid.transmit.text 1650 | # model/vnd.rosette.annotated-data-model 1651 | # model/vnd.valve.source.compiled-map 1652 | model/vnd.vtu vtu 1653 | model/vrml wrl vrml 1654 | model/x3d+binary x3db x3dbz 1655 | # model/x3d+fastinfoset 1656 | model/x3d+vrml x3dv x3dvz 1657 | model/x3d+xml x3d x3dz 1658 | # model/x3d-vrml 1659 | # multipart/alternative 1660 | # multipart/appledouble 1661 | # multipart/byteranges 1662 | # multipart/digest 1663 | # multipart/encrypted 1664 | # multipart/example 1665 | # multipart/form-data 1666 | # multipart/header-set 1667 | # multipart/mixed 1668 | # multipart/parallel 1669 | # multipart/related 1670 | # multipart/report 1671 | # multipart/signed 1672 | # multipart/voice-message 1673 | # multipart/x-mixed-replace 1674 | # text/1d-interleaved-parityfec 1675 | text/cache-manifest appcache 1676 | text/calendar ics ifb 1677 | text/css css 1678 | text/csv csv 1679 | # text/csv-schema 1680 | # text/directory 1681 | # text/dns 1682 | # text/ecmascript 1683 | # text/encaprtp 1684 | # text/enriched 1685 | # text/example 1686 | # text/fwdred 1687 | # text/grammar-ref-list 1688 | text/html html htm 1689 | # text/javascript 1690 | # text/jcr-cnd 1691 | # text/markdown 1692 | # text/mizar 1693 | text/n3 n3 1694 | # text/parameters 1695 | # text/parityfec 1696 | text/plain txt text conf def list log in 1697 | # text/provenance-notation 1698 | # text/prs.fallenstein.rst 1699 | text/prs.lines.tag dsc 1700 | # text/prs.prop.logic 1701 | # text/raptorfec 1702 | # text/red 1703 | # text/rfc822-headers 1704 | text/richtext rtx 1705 | # text/rtf 1706 | # text/rtp-enc-aescm128 1707 | # text/rtploopback 1708 | # text/rtx 1709 | text/sgml sgml sgm 1710 | # text/t140 1711 | text/tab-separated-values tsv 1712 | text/troff t tr roff man me ms 1713 | text/turtle ttl 1714 | # text/ulpfec 1715 | text/uri-list uri uris urls 1716 | text/vcard vcard 1717 | # text/vnd.a 1718 | # text/vnd.abc 1719 | text/vnd.curl curl 1720 | text/vnd.curl.dcurl dcurl 1721 | text/vnd.curl.mcurl mcurl 1722 | text/vnd.curl.scurl scurl 1723 | # text/vnd.debian.copyright 1724 | # text/vnd.dmclientscript 1725 | text/vnd.dvb.subtitle sub 1726 | # text/vnd.esmertec.theme-descriptor 1727 | text/vnd.fly fly 1728 | text/vnd.fmi.flexstor flx 1729 | text/vnd.graphviz gv 1730 | text/vnd.in3d.3dml 3dml 1731 | text/vnd.in3d.spot spot 1732 | # text/vnd.iptc.newsml 1733 | # text/vnd.iptc.nitf 1734 | # text/vnd.latex-z 1735 | # text/vnd.motorola.reflex 1736 | # text/vnd.ms-mediapackage 1737 | # text/vnd.net2phone.commcenter.command 1738 | # text/vnd.radisys.msml-basic-layout 1739 | # text/vnd.si.uricatalogue 1740 | text/vnd.sun.j2me.app-descriptor jad 1741 | # text/vnd.trolltech.linguist 1742 | # text/vnd.wap.si 1743 | # text/vnd.wap.sl 1744 | text/vnd.wap.wml wml 1745 | text/vnd.wap.wmlscript wmls 1746 | text/x-asm s asm 1747 | text/x-c c cc cxx cpp h hh dic 1748 | text/x-fortran f for f77 f90 1749 | text/x-java-source java 1750 | text/x-nfo nfo 1751 | text/x-opml opml 1752 | text/x-pascal p pas 1753 | text/x-setext etx 1754 | text/x-sfv sfv 1755 | text/x-uuencode uu 1756 | text/x-vcalendar vcs 1757 | text/x-vcard vcf 1758 | # text/xml 1759 | # text/xml-external-parsed-entity 1760 | # video/1d-interleaved-parityfec 1761 | video/3gpp 3gp 1762 | # video/3gpp-tt 1763 | video/3gpp2 3g2 1764 | # video/bmpeg 1765 | # video/bt656 1766 | # video/celb 1767 | # video/dv 1768 | # video/encaprtp 1769 | # video/example 1770 | video/h261 h261 1771 | video/h263 h263 1772 | # video/h263-1998 1773 | # video/h263-2000 1774 | video/h264 h264 1775 | # video/h264-rcdo 1776 | # video/h264-svc 1777 | # video/h265 1778 | # video/iso.segment 1779 | video/jpeg jpgv 1780 | # video/jpeg2000 1781 | video/jpm jpm jpgm 1782 | video/mj2 mj2 mjp2 1783 | # video/mp1s 1784 | # video/mp2p 1785 | # video/mp2t 1786 | video/mp4 mp4 mp4v mpg4 1787 | # video/mp4v-es 1788 | video/mpeg mpeg mpg mpe m1v m2v 1789 | # video/mpeg4-generic 1790 | # video/mpv 1791 | # video/nv 1792 | video/ogg ogv 1793 | # video/parityfec 1794 | # video/pointer 1795 | video/quicktime qt mov 1796 | # video/raptorfec 1797 | # video/raw 1798 | # video/rtp-enc-aescm128 1799 | # video/rtploopback 1800 | # video/rtx 1801 | # video/smpte292m 1802 | # video/ulpfec 1803 | # video/vc1 1804 | # video/vnd.cctv 1805 | video/vnd.dece.hd uvh uvvh 1806 | video/vnd.dece.mobile uvm uvvm 1807 | # video/vnd.dece.mp4 1808 | video/vnd.dece.pd uvp uvvp 1809 | video/vnd.dece.sd uvs uvvs 1810 | video/vnd.dece.video uvv uvvv 1811 | # video/vnd.directv.mpeg 1812 | # video/vnd.directv.mpeg-tts 1813 | # video/vnd.dlna.mpeg-tts 1814 | video/vnd.dvb.file dvb 1815 | video/vnd.fvt fvt 1816 | # video/vnd.hns.video 1817 | # video/vnd.iptvforum.1dparityfec-1010 1818 | # video/vnd.iptvforum.1dparityfec-2005 1819 | # video/vnd.iptvforum.2dparityfec-1010 1820 | # video/vnd.iptvforum.2dparityfec-2005 1821 | # video/vnd.iptvforum.ttsavc 1822 | # video/vnd.iptvforum.ttsmpeg2 1823 | # video/vnd.motorola.video 1824 | # video/vnd.motorola.videop 1825 | video/vnd.mpegurl mxu m4u 1826 | video/vnd.ms-playready.media.pyv pyv 1827 | # video/vnd.nokia.interleaved-multimedia 1828 | # video/vnd.nokia.videovoip 1829 | # video/vnd.objectvideo 1830 | # video/vnd.radgamettools.bink 1831 | # video/vnd.radgamettools.smacker 1832 | # video/vnd.sealed.mpeg1 1833 | # video/vnd.sealed.mpeg4 1834 | # video/vnd.sealed.swf 1835 | # video/vnd.sealedmedia.softseal.mov 1836 | video/vnd.uvvu.mp4 uvu uvvu 1837 | video/vnd.vivo viv 1838 | # video/vp8 1839 | video/webm webm 1840 | video/x-f4v f4v 1841 | video/x-fli fli 1842 | video/x-flv flv 1843 | video/x-m4v m4v 1844 | video/x-matroska mkv mk3d mks 1845 | video/x-mng mng 1846 | video/x-ms-asf asf asx 1847 | video/x-ms-vob vob 1848 | video/x-ms-wm wm 1849 | video/x-ms-wmv wmv 1850 | video/x-ms-wmx wmx 1851 | video/x-ms-wvx wvx 1852 | video/x-msvideo avi 1853 | video/x-sgi-movie movie 1854 | video/x-smv smv 1855 | x-conference/x-cooltalk ice 1856 | --------------------------------------------------------------------------------