| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of mime; | 5 part of mime; |
| 6 | 6 |
| 7 | 7 |
| 8 // TODO(ajohnsen): Use sorted list and binary search? | 8 // TODO(ajohnsen): Use sorted list and binary search? |
| 9 Map<String, String> _defaultExtensionMap = const <String, String>{ | 9 Map<String, String> _defaultExtensionMap = const <String, String>{ |
| 10 '123':'application/vnd.lotus-1-2-3', | 10 '123':'application/vnd.lotus-1-2-3', |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 'ssml':'application/ssml+xml', | 752 'ssml':'application/ssml+xml', |
| 753 'st':'application/vnd.sailingtracker.track', | 753 'st':'application/vnd.sailingtracker.track', |
| 754 'stc':'application/vnd.sun.xml.calc.template', | 754 'stc':'application/vnd.sun.xml.calc.template', |
| 755 'std':'application/vnd.sun.xml.draw.template', | 755 'std':'application/vnd.sun.xml.draw.template', |
| 756 'stf':'application/vnd.wt.stf', | 756 'stf':'application/vnd.wt.stf', |
| 757 'sti':'application/vnd.sun.xml.impress.template', | 757 'sti':'application/vnd.sun.xml.impress.template', |
| 758 'stk':'application/hyperstudio', | 758 'stk':'application/hyperstudio', |
| 759 'stl':'application/vnd.ms-pki.stl', | 759 'stl':'application/vnd.ms-pki.stl', |
| 760 'str':'application/vnd.pg.format', | 760 'str':'application/vnd.pg.format', |
| 761 'stw':'application/vnd.sun.xml.writer.template', | 761 'stw':'application/vnd.sun.xml.writer.template', |
| 762 'sub':'image/vnd.dvb.subtitle', | |
| 763 'sub':'text/vnd.dvb.subtitle', | 762 'sub':'text/vnd.dvb.subtitle', |
| 764 'sus':'application/vnd.sus-calendar', | 763 'sus':'application/vnd.sus-calendar', |
| 765 'susp':'application/vnd.sus-calendar', | 764 'susp':'application/vnd.sus-calendar', |
| 766 'sv4cpio':'application/x-sv4cpio', | 765 'sv4cpio':'application/x-sv4cpio', |
| 767 'sv4crc':'application/x-sv4crc', | 766 'sv4crc':'application/x-sv4crc', |
| 768 'svc':'application/vnd.dvb.service', | 767 'svc':'application/vnd.dvb.service', |
| 769 'svd':'application/vnd.svd', | 768 'svd':'application/vnd.svd', |
| 770 'svg':'image/svg+xml', | 769 'svg':'image/svg+xml', |
| 771 'svgz':'image/svg+xml', | 770 'svgz':'image/svg+xml', |
| 772 'swa':'application/x-director', | 771 'swa':'application/x-director', |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 'wma':'audio/x-ms-wma', | 895 'wma':'audio/x-ms-wma', |
| 897 'wmd':'application/x-ms-wmd', | 896 'wmd':'application/x-ms-wmd', |
| 898 'wmf':'application/x-msmetafile', | 897 'wmf':'application/x-msmetafile', |
| 899 'wml':'text/vnd.wap.wml', | 898 'wml':'text/vnd.wap.wml', |
| 900 'wmlc':'application/vnd.wap.wmlc', | 899 'wmlc':'application/vnd.wap.wmlc', |
| 901 'wmls':'text/vnd.wap.wmlscript', | 900 'wmls':'text/vnd.wap.wmlscript', |
| 902 'wmlsc':'application/vnd.wap.wmlscriptc', | 901 'wmlsc':'application/vnd.wap.wmlscriptc', |
| 903 'wmv':'video/x-ms-wmv', | 902 'wmv':'video/x-ms-wmv', |
| 904 'wmx':'video/x-ms-wmx', | 903 'wmx':'video/x-ms-wmx', |
| 905 'wmz':'application/x-ms-wmz', | 904 'wmz':'application/x-ms-wmz', |
| 906 'wmz':'application/x-msmetafile', | |
| 907 'woff':'application/x-font-woff', | 905 'woff':'application/x-font-woff', |
| 908 'wpd':'application/vnd.wordperfect', | 906 'wpd':'application/vnd.wordperfect', |
| 909 'wpl':'application/vnd.ms-wpl', | 907 'wpl':'application/vnd.ms-wpl', |
| 910 'wps':'application/vnd.ms-works', | 908 'wps':'application/vnd.ms-works', |
| 911 'wqd':'application/vnd.wqd', | 909 'wqd':'application/vnd.wqd', |
| 912 'wri':'application/x-mswrite', | 910 'wri':'application/x-mswrite', |
| 913 'wrl':'model/vrml', | 911 'wrl':'model/vrml', |
| 914 'wsdl':'application/wsdl+xml', | 912 'wsdl':'application/wsdl+xml', |
| 915 'wspolicy':'application/wspolicy+xml', | 913 'wspolicy':'application/wspolicy+xml', |
| 916 'wtb':'application/vnd.webturbo', | 914 'wtb':'application/vnd.webturbo', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 'z5':'application/x-zmachine', | 982 'z5':'application/x-zmachine', |
| 985 'z6':'application/x-zmachine', | 983 'z6':'application/x-zmachine', |
| 986 'z7':'application/x-zmachine', | 984 'z7':'application/x-zmachine', |
| 987 'z8':'application/x-zmachine', | 985 'z8':'application/x-zmachine', |
| 988 'zaz':'application/vnd.zzazz.deck+xml', | 986 'zaz':'application/vnd.zzazz.deck+xml', |
| 989 'zip':'application/zip', | 987 'zip':'application/zip', |
| 990 'zir':'application/vnd.zul', | 988 'zir':'application/vnd.zul', |
| 991 'zirz':'application/vnd.zul', | 989 'zirz':'application/vnd.zul', |
| 992 'zmm':'application/vnd.handheld-entertainment+xml', | 990 'zmm':'application/vnd.handheld-entertainment+xml', |
| 993 }; | 991 }; |
| OLD | NEW |