Matthew Frazier avatar Matthew Frazier committed d662b8f

more types, from Rack::Mime

Comments (0)

Files changed (1)

 -- application/
 extensions['a'] = 'application/octet-stream'
 extensions['ai'] = 'application/postscript'
+extensions['asc'] = 'application/pgp-signature'
 extensions['atom'] = 'application/atom+xml'
 extensions['bcpio'] = 'application/x-bcpio'
 extensions['bin'] = 'application/octet-stream'
+extensions['bz2'] = 'application/x-bzip2'
+extensions['cab'] = 'application/vnd.ms-cab-compressed'
+extensions['chm'] = 'application/vnd.ms-htmlhelp'
+extensions['class'] = 'application/octet-stream'
 extensions['cdf'] = 'application/x-netcdf'
 extensions['cpio'] = 'application/x-cpio'
 extensions['csh'] = 'application/x-csh'
+extensions['deb'] = 'application/x-deb'
 extensions['dll'] = 'application/octet-stream'
 extensions['dmg'] = 'application/x-apple-diskimage'
 extensions['doc'] = 'application/msword'
 extensions['gz'] = 'application/x-gzip'
 extensions['hdf'] = 'application/x-hdf'
 extensions['hqx'] = 'application/mac-binhex40'
+extensions['iso'] = 'application/octet-stream'
+extensions['jar'] = 'application/java-archive'
 extensions['js'] = 'application/javascript'
 extensions['json'] = 'application/json'
 extensions['latex'] = 'application/x-latex'
 extensions['p7c'] = 'application/pkcs7-mime'
 extensions['pdf'] = 'application/pdf'
 extensions['pfx'] = 'application/x-pkcs12'
+extensions['pgp'] = 'application/pgp-encrypted'
 extensions['pot'] = 'application/vnd.ms-powerpoint'
 extensions['ppa'] = 'application/vnd.ms-powerpoint'
 extensions['pps'] = 'application/vnd.ms-powerpoint'
 extensions['ram'] = 'application/x-pn-realaudio'
 extensions['rar'] = 'application/x-rar-compressed'
 extensions['rdf'] = 'application/rdf+xml'
+extensions['rpm'] = 'application/x-redhat-package-manager'
 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['sig'] = 'application/pgp-signature'
 extensions['sit'] = 'application/x-stuffit'
 extensions['smil'] = 'application/smil+xml'
 extensions['so'] = 'application/octet-stream'
 extensions['tex'] = 'application/x-tex'
 extensions['texi'] = 'application/x-texinfo'
 extensions['texinfo'] = 'application/x-texinfo'
+extensions['torrent'] = 'application/x-bittorrent'
 extensions['tr'] = 'application/x-troff'
 extensions['ustar'] = 'application/x-ustar'
 extensions['wiz'] = 'application/msword'
 extensions['midi'] = 'audio/midi'
 extensions['mp2'] = 'audio/mpeg'
 extensions['mp3'] = 'audio/mpeg'
+extensions['m3u'] = 'audio/x-mpegurl'
 extensions['oga'] = 'audio/ogg'
 extensions['ogg'] = 'audio/ogg'
 extensions['ra'] = 'audio/x-pn-realaudio'
 extensions['png'] = 'image/png'
 extensions['pnm'] = 'image/x-portable-anymap'
 extensions['ppm'] = 'image/x-portable-pixmap'
+extensions['psd'] = 'image/vnd.adobe.photoshop'
 extensions['ras'] = 'image/x-cmu-raster'
 extensions['rgb'] = 'image/x-rgb'
 extensions['svg'] = 'image/svg+xml'
 extensions['mhtml'] = 'message/rfc822'
 extensions['nws'] = 'message/rfc822'
 
+-- model/
+extensions['vrml'] = 'model/vrml'
+
 -- text/
+extensions['asm'] = 'text/x-asm'
 extensions['bat'] = 'text/plain'
-extensions['c'] = 'text/plain'
+extensions['c'] = 'text/x-c'
+extensions['cc'] = 'text/x-c'
+extensions['conf'] = 'text/plain'
+extensions['cpp'] = 'text/x-c'
 extensions['css'] = 'text/css'
 extensions['csv'] = 'text/csv'
+extensions['diff'] = 'text/x-diff'
 extensions['etx'] = 'text/x-setext'
-extensions['h'] = 'text/plain'
+extensions['gemspec'] = 'text/x-ruby'
+extensions['h'] = 'text/x-c'
+extensions['hh'] = 'text/x-c'
 extensions['htm'] = 'text/html'
 extensions['html'] = 'text/html'
 extensions['ics'] = 'text/calendar'
+extensions['java'] = 'text/x-java'
 extensions['ksh'] = 'text/plain'
 extensions['lua'] = 'text/x-lua'
+extensions['manifest'] = 'text/cache-manifest'
 extensions['md'] = 'text/x-markdown'
-extensions['pl'] = 'text/plain'
+extensions['p'] = 'text/x-pascal'
+extensions['pas'] = 'text/x-pascal'
+extensions['pl'] = 'text/x-perl'
+extensions['pm'] = 'text/x-perl'
 extensions['py'] = 'text/x-python'
 extensions['rb'] = 'text/x-ruby'
+extensions['ru'] = 'text/x-ruby'
+extensions['rockspec'] = 'text/x-lua'
 extensions['rtx'] = 'text/richtext'
+extensions['s'] = 'text/x-asm'
 extensions['sgm'] = 'text/x-sgml'
 extensions['sgml'] = 'text/x-sgml'
+extensions['text'] = 'text/plain'
 extensions['tsv'] = 'text/tab-separated-values'
 extensions['txt'] = 'text/plain'
 extensions['vcf'] = 'text/x-vcard'
+extensions['vcs'] = 'text/x-vcalendar'
 extensions['xml'] = 'text/xml'
+extensions['yaml'] = 'text/yaml'
+extensions['yml'] = 'text/yml'
 
 -- video/
 extensions['avi'] = 'video/x-msvideo'
+extensions['flv'] = 'video/x-flv'
 extensions['m1v'] = 'video/mpeg'
 extensions['mov'] = 'video/quicktime'
 extensions['movie'] = 'video/x-sgi-movie'
+extensions['mng'] = 'video/x-mng'
 extensions['mp4'] = 'video/mp4'
 extensions['mpa'] = 'video/mpeg'
 extensions['mpe'] = 'video/mpeg'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.