diff options
author | Raving Genius <rg+code@ravinggenius.com> | 2010-12-11 12:56:34 +0800 |
---|---|---|
committer | Michael Fellinger <m.fellinger@gmail.com> | 2010-12-11 14:42:16 +0800 |
commit | 469518f7d971ba99fc335cf546d605d2364c81aa (patch) | |
tree | ca1a2677460468eb44237096d4f75d40a0997041 | |
parent | 672396f0fdaa639981daaf7e6ff309c76f71b352 (diff) | |
download | rack-469518f7d971ba99fc335cf546d605d2364c81aa.tar.gz |
Add MIME types for .ttf and .woff
-rw-r--r-- | lib/rack/mime.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rack/mime.rb b/lib/rack/mime.rb index 2cf03751..38c58f9f 100644 --- a/lib/rack/mime.rb +++ b/lib/rack/mime.rb @@ -181,6 +181,7 @@ module Rack ".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 @@ module Rack ".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", |