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:
parent
142d7db9f8
commit
bfed27de4f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue