mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Don't shadow out in the request.start block just in case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@316 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
7eac06c06d
commit
6e09822d60
1 changed files with 2 additions and 2 deletions
|
@ -132,11 +132,11 @@ module Mongrel
|
||||||
|
|
||||||
header(options)
|
header(options)
|
||||||
|
|
||||||
@response.start status do |head, out|
|
@response.start status do |head, body|
|
||||||
send_cookies(head)
|
send_cookies(head)
|
||||||
|
|
||||||
@head.each {|k,v| head[k] = v}
|
@head.each {|k,v| head[k] = v}
|
||||||
out.write(yield || "")
|
body.write(yield || "")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue