lib/spiderfw/http/adapters/rack.rb in spiderfw-0.6.15 vs lib/spiderfw/http/adapters/rack.rb in spiderfw-0.6.16
- old
+ new
@@ -82,11 +82,11 @@
r, w = IO.pipe
rack_response_hash = {:body => r}
controller_response.server_output = RackIO.new(rack_response_hash, controller_response, w)
else
w = StringIO.new
- controller_response.server_output = w
rack_response_hash = {:body => w}
+ controller_response.server_output = RackIO.new(rack_response_hash, controller_response, w)
end
controller_done = false