| 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 library mime.extension_map; | 5 library mime.extension_map; |
| 6 | 6 |
| 7 // TODO(ajohnsen): Use sorted list and binary search? | 7 // TODO(ajohnsen): Use const map once Issue 7559 is fixed. |
| 8 const Map<String, String> DEFAULT_EXTENSION_MAP = const <String, String>{ | 8 final Map<String, String> defaultExtensionMap = <String, String>{ |
| 9 '123':'application/vnd.lotus-1-2-3', | 9 '123':'application/vnd.lotus-1-2-3', |
| 10 '3dml':'text/vnd.in3d.3dml', | 10 '3dml':'text/vnd.in3d.3dml', |
| 11 '3ds':'image/x-3ds', | 11 '3ds':'image/x-3ds', |
| 12 '3g2':'video/3gpp2', | 12 '3g2':'video/3gpp2', |
| 13 '3gp':'video/3gpp', | 13 '3gp':'video/3gpp', |
| 14 '7z':'application/x-7z-compressed', | 14 '7z':'application/x-7z-compressed', |
| 15 'aab':'application/x-authorware-bin', | 15 'aab':'application/x-authorware-bin', |
| 16 'aac':'audio/x-aac', | 16 'aac':'audio/x-aac', |
| 17 'aam':'application/x-authorware-map', | 17 'aam':'application/x-authorware-map', |
| 18 'aas':'application/x-authorware-seg', | 18 'aas':'application/x-authorware-seg', |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 'z5':'application/x-zmachine', | 981 'z5':'application/x-zmachine', |
| 982 'z6':'application/x-zmachine', | 982 'z6':'application/x-zmachine', |
| 983 'z7':'application/x-zmachine', | 983 'z7':'application/x-zmachine', |
| 984 'z8':'application/x-zmachine', | 984 'z8':'application/x-zmachine', |
| 985 'zaz':'application/vnd.zzazz.deck+xml', | 985 'zaz':'application/vnd.zzazz.deck+xml', |
| 986 'zip':'application/zip', | 986 'zip':'application/zip', |
| 987 'zir':'application/vnd.zul', | 987 'zir':'application/vnd.zul', |
| 988 'zirz':'application/vnd.zul', | 988 'zirz':'application/vnd.zul', |
| 989 'zmm':'application/vnd.handheld-entertainment+xml', | 989 'zmm':'application/vnd.handheld-entertainment+xml', |
| 990 }; | 990 }; |
| OLD | NEW |