Skip to content

Commit

Permalink
file.rb - Added MP3 to MIME_TYPES
Browse files Browse the repository at this point in the history
  • Loading branch information
qerub authored and leahneukirchen committed Jun 23, 2008
1 parent e96aa06 commit 582e584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rack/file.rb
Expand Up @@ -50,7 +50,7 @@ def each
end

# :stopdoc:
# From WEBrick.
# From WEBrick with some additions.
MIME_TYPES = {
"ai" => "application/postscript",
"asc" => "text/plain",
Expand Down Expand Up @@ -79,6 +79,7 @@ def each
"lha" => "application/octet-stream",
"lzh" => "application/octet-stream",
"mov" => "video/quicktime",
"mp3" => "audio/mpeg",
"mpe" => "video/mpeg",
"mpeg" => "video/mpeg",
"mpg" => "video/mpeg",
Expand Down

0 comments on commit 582e584

Please sign in to comment.