Commit 6cb0d4c6 authored by Ka-Ping Yee's avatar Ka-Ping Yee

Add some fairly important file extensions: bmp css doc mid midi mp2 mp3 xls.

Entries taken from the standard Debian mime.types file.
parent 6b5a48d4
...@@ -230,10 +230,13 @@ types_map = { ...@@ -230,10 +230,13 @@ types_map = {
'.avi': 'video/x-msvideo', '.avi': 'video/x-msvideo',
'.bcpio': 'application/x-bcpio', '.bcpio': 'application/x-bcpio',
'.bin': 'application/octet-stream', '.bin': 'application/octet-stream',
'.bmp': 'image/x-ms-bmp',
'.cdf': 'application/x-netcdf', '.cdf': 'application/x-netcdf',
'.cpio': 'application/x-cpio', '.cpio': 'application/x-cpio',
'.csh': 'application/x-csh', '.csh': 'application/x-csh',
'.css': 'text/css',
'.dll': 'application/octet-stream', '.dll': 'application/octet-stream',
'.doc': 'application/msword',
'.dvi': 'application/x-dvi', '.dvi': 'application/x-dvi',
'.exe': 'application/octet-stream', '.exe': 'application/octet-stream',
'.eps': 'application/postscript', '.eps': 'application/postscript',
...@@ -251,9 +254,13 @@ types_map = { ...@@ -251,9 +254,13 @@ types_map = {
'.latex': 'application/x-latex', '.latex': 'application/x-latex',
'.man': 'application/x-troff-man', '.man': 'application/x-troff-man',
'.me': 'application/x-troff-me', '.me': 'application/x-troff-me',
'.mid': 'audio/midi',
'.midi': 'audio/midi',
'.mif': 'application/x-mif', '.mif': 'application/x-mif',
'.mov': 'video/quicktime', '.mov': 'video/quicktime',
'.movie': 'video/x-sgi-movie', '.movie': 'video/x-sgi-movie',
'.mp2': 'audio/mpeg',
'.mp3': 'audio/mpeg',
'.mpe': 'video/mpeg', '.mpe': 'video/mpeg',
'.mpeg': 'video/mpeg', '.mpeg': 'video/mpeg',
'.mpg': 'video/mpeg', '.mpg': 'video/mpeg',
...@@ -302,6 +309,7 @@ types_map = { ...@@ -302,6 +309,7 @@ types_map = {
'.ustar': 'application/x-ustar', '.ustar': 'application/x-ustar',
'.wav': 'audio/x-wav', '.wav': 'audio/x-wav',
'.xbm': 'image/x-xbitmap', '.xbm': 'image/x-xbitmap',
'.xls': 'application/excel',
'.xml': 'text/xml', '.xml': 'text/xml',
'.xsl': 'application/xml', '.xsl': 'application/xml',
'.xpm': 'image/x-xpixmap', '.xpm': 'image/x-xpixmap',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment