summary refs log tree commit
diff options
context:
space:
mode:
authorPatrick Aljord <patcito@gmail.com>2009-07-30 22:53:37 -0500
committerMichael Fellinger <m.fellinger@gmail.com>2009-07-31 14:53:10 +0200
commit162563d04224cf8b9e57a3d15f13b0dbb04fde33 (patch)
treea952a802ef8c569337a2c49b48d316e35520c445
parent1785a44d3a97cb38b4b197b5cb66bd86093bf438 (diff)
downloadrack-162563d04224cf8b9e57a3d15f13b0dbb04fde33.tar.gz
added ogv mime type so that firefox can read theora videos using the html5 <video> tag
-rw-r--r--lib/rack/mime.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rack/mime.rb b/lib/rack/mime.rb
index d0d208e8..853f16bd 100644
--- a/lib/rack/mime.rb
+++ b/lib/rack/mime.rb
@@ -126,6 +126,7 @@ module Rack
       ".ods"     => "application/vnd.oasis.opendocument.spreadsheet",
       ".odt"     => "application/vnd.oasis.opendocument.text",
       ".ogg"     => "application/ogg",
+      ".ogv"     => "video/ogg",
       ".p"       => "text/x-pascal",
       ".pas"     => "text/x-pascal",
       ".pbm"     => "image/x-portable-bitmap",