提交 844fb632 编写于 作者: A Aaron Patterson

partially revert 69009f44

we need to continue setting the body on the request object because of
Fiber based streaming templates.  Fixes #23659
上级 f1866e81
......@@ -175,10 +175,7 @@ def response_body=(body)
body = [body] unless body.nil? || body.respond_to?(:each)
response.reset_body!
return unless body
body.each { |part|
next if part.empty?
response.write part
}
response.body = body
super
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册