1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Added better default mime types to lame DirHandler.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@395 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
zedshaw 2006-11-20 16:50:37 +00:00
parent 142d7db9f8
commit bfed27de4f

View file

@ -115,7 +115,9 @@ module Mongrel
".png" => "image/png",
".swf" => "application/x-shockwave-flash",
".txt" => "text/plain",
".xml" => "text/xml"
".xml" => "application/xml",
".rss" => "application/xml+rss",
".atom" => "application/xml+atom",
}
ONLY_HEAD_GET="Only HEAD and GET allowed.".freeze