Commits

Matthew Frazier committed 67b49fb

added more MIME types

Comments (0)

Files changed (1)

 extensions['cpio'] = 'application/x-cpio'
 extensions['csh'] = 'application/x-csh'
 extensions['dll'] = 'application/octet-stream'
+extensions['dmg'] = 'application/x-apple-diskimage'
 extensions['doc'] = 'application/msword'
 extensions['docx'] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
 extensions['dot'] = 'application/msword'
 extensions['gtar'] = 'application/x-gtar'
 extensions['gz'] = 'application/x-gzip'
 extensions['hdf'] = 'application/x-hdf'
+extensions['hqx'] = 'application/mac-binhex40'
 extensions['js'] = 'application/javascript'
 extensions['json'] = 'application/json'
 extensions['latex'] = 'application/x-latex'
 extensions['pyo'] = 'application/x-python-code'
 extensions['ram'] = 'application/x-pn-realaudio'
 extensions['rar'] = 'application/x-rar-compressed'
-extensions['rdf'] = 'application/xml'
+extensions['rdf'] = 'application/rdf+xml'
+extensions['rss'] = 'application/rss+xml'
 extensions['rtf'] = 'application/rtf'
 extensions['roff'] = 'application/x-troff'
 extensions['sh'] = 'application/x-sh'
 extensions['shar'] = 'application/x-shar'
+extensions['sit'] = 'application/x-stuffit'
+extensions['smil'] = 'application/smil+xml'
 extensions['so'] = 'application/octet-stream'
 extensions['src'] = 'application/x-wais-source'
 extensions['sv4cpio'] = 'application/x-sv4cpio'
 extensions['tr'] = 'application/x-troff'
 extensions['ustar'] = 'application/x-ustar'
 extensions['wiz'] = 'application/msword'
-extensions['wsdl'] = 'application/xml'
+extensions['wsdl'] = 'application/wsdl+xml'
+extensions['xht'] = 'application/xhtml+xml'
+extensions['xhtml'] = 'application/xhtml+xml'
 extensions['xlb'] = 'application/vnd.ms-excel'
 extensions['xls'] = 'application/vnd.ms-excel'
 extensions['xlsx'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
 extensions['xpdl'] = 'application/xml'
 extensions['xsl'] = 'application/xml'
+extensions['xul'] = 'application/vnd.mozilla.xul+xml'
 extensions['zip'] = 'application/zip'
 
 -- audio/
 extensions['aifc'] = 'audio/x-aiff'
 extensions['aiff'] = 'audio/x-aiff'
 extensions['au'] = 'audio/basic'
+extensions['flac'] = 'audio/x-flac'
+extensions['mid'] = 'audio/midi'
+extensions['midi'] = 'audio/midi'
 extensions['mp2'] = 'audio/mpeg'
 extensions['mp3'] = 'audio/mpeg'
 extensions['oga'] = 'audio/ogg'
 
 -- image/
 extensions['bmp'] = 'image/x-ms-bmp'
+extensions['djv'] = 'image/vnd.djvu'
+extensions['djvu'] = 'image/vnd.djvu'
 extensions['gif'] = 'image/gif'
 extensions['ico'] = 'image/vnd.microsoft.icon'
 extensions['ief'] = 'image/ief'
 extensions['ras'] = 'image/x-cmu-raster'
 extensions['rgb'] = 'image/x-rgb'
 extensions['svg'] = 'image/svg+xml'
+extensions['svgz'] = 'image/svg+xml'
 extensions['tif'] = 'image/tiff'
 extensions['tiff'] = 'image/tiff'
 extensions['xbm'] = 'image/x-xbitmap'
 extensions['mpe'] = 'video/mpeg'
 extensions['mpeg'] = 'video/mpeg'
 extensions['mpg'] = 'video/mpeg'
+extensions['ogv'] = 'video/ogg'
 extensions['qt'] = 'video/quicktime'
 
 -- This contains filename overrides for certain files, like README files.