Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a bug with the HEAD stuff

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@61 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 63c4e789b50f502bedcfd0a9b6bf231ec97307f5 1 parent b4f4d03
@dhh dhh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/cgi_process.rb
View
2  actionpack/lib/action_controller/cgi_process.rb
@@ -108,7 +108,7 @@ def out
$stdout.sync = false
print @cgi.header(@headers)
- if @cgi.head?
+ if @cgi.send(:env_table)['REQUEST_METHOD'] == 'HEAD'
return
elsif @body.respond_to?(:call)
@body.call(self)
Please sign in to comment.
Something went wrong with that request. Please try again.