summary refs log tree commit
diff options
context:
space:
mode:
authorRaving Genius <rg+code@ravinggenius.com>2010-12-11 12:56:34 +0800
committerMichael Fellinger <m.fellinger@gmail.com>2010-12-11 14:42:16 +0800
commit469518f7d971ba99fc335cf546d605d2364c81aa (patch)
treeca1a2677460468eb44237096d4f75d40a0997041
parent672396f0fdaa639981daaf7e6ff309c76f71b352 (diff)
downloadrack-469518f7d971ba99fc335cf546d605d2364c81aa.tar.gz
Add MIME types for .ttf and .woff
-rw-r--r--lib/rack/mime.rb2
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",