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

* lib/mongrel/camping.rb: get_or_head var was going unused.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@371 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
why 2006-10-25 22:50:57 +00:00
parent 4dd57e31a9
commit 88a2eb7c97

View file

@ -54,8 +54,6 @@ module Mongrel
}
sendfile, clength = nil
get_or_head = @@file_only_methods.include? request.params[Mongrel::Const::REQUEST_METHOD]
response.status = controller.status
controller.headers.each do |k, v|
if k =~ /^X-SENDFILE$/i