From a75e81b14f14dfc935e18dcddcaca59179e2e625 Mon Sep 17 00:00:00 2001 From: zedshaw Date: Tue, 24 Oct 2006 23:20:06 +0000 Subject: 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 --- lib/mongrel/handlers.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/mongrel/handlers.rb') diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb index a5f225e..fb32d2e 100644 --- a/lib/mongrel/handlers.rb +++ b/lib/mongrel/handlers.rb @@ -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 -- cgit v1.2.3-24-ge0c7