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

Patch to give a default text/xml for .xml files.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@365 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
zedshaw 2006-10-24 23:20:06 +00:00
parent 04e7b8d1b2
commit a75e81b14f

View file

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