diff options
author | Christoffer Sawicki <christoffer.sawicki@gmail.com> | 2008-06-20 23:16:21 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-06-23 14:26:07 +0200 |
commit | 582e5840a18cc1d955acba93e5c5fc3d980c60aa (patch) | |
tree | 563f9e8d65e7e7c203cd281989d159cc14ef9ba3 /lib/rack/file.rb | |
parent | e96aa06f7d7e67b0d3f2ebda943d7eb16f7c88ff (diff) | |
download | rack-582e5840a18cc1d955acba93e5c5fc3d980c60aa.tar.gz |
file.rb - Added MP3 to MIME_TYPES
Diffstat (limited to 'lib/rack/file.rb')
-rw-r--r-- | lib/rack/file.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rack/file.rb b/lib/rack/file.rb index c8ed7aa9..92665d31 100644 --- a/lib/rack/file.rb +++ b/lib/rack/file.rb @@ -50,7 +50,7 @@ module Rack end # :stopdoc: - # From WEBrick. + # From WEBrick with some additions. MIME_TYPES = { "ai" => "application/postscript", "asc" => "text/plain", @@ -79,6 +79,7 @@ module Rack "lha" => "application/octet-stream", "lzh" => "application/octet-stream", "mov" => "video/quicktime", + "mp3" => "audio/mpeg", "mpe" => "video/mpeg", "mpeg" => "video/mpeg", "mpg" => "video/mpeg", |