Permalink
Browse files

Add MIME types for .ttf and .woff

  • Loading branch information...
1 parent 672396f commit 469518f7d971ba99fc335cf546d605d2364c81aa Raving Genius committed with manveru Dec 11, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rack/mime.rb
View
2 lib/rack/mime.rb
@@ -181,6 +181,7 @@ def mime_type(ext, fallback='application/octet-stream')
".tiff" => "image/tiff",
".torrent" => "application/x-bittorrent",
".tr" => "text/troff",
+ ".ttf" => "application/octet-stream",
".txt" => "text/plain",
".vcf" => "text/x-vcard",
".vcs" => "text/x-vcalendar",
@@ -191,6 +192,7 @@ def mime_type(ext, fallback='application/octet-stream')
".wma" => "audio/x-ms-wma",
".wmv" => "video/x-ms-wmv",
".wmx" => "video/x-ms-wmx",
+ ".woff" => "application/octet-stream",
".wrl" => "model/vrml",
".wsdl" => "application/wsdl+xml",
".xbm" => "image/x-xbitmap",

0 comments on commit 469518f

Please sign in to comment.