提交 63c4e789 编写于 作者: D David Heinemeier Hansson

Fixed a bug with the HEAD stuff

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@61 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 b4f4d038
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册