lib/rack/adapter/camping.rb in rack-0.4.0 vs lib/rack/adapter/camping.rb in rack-0.9.0
- old
+ new
@@ -13,10 +13,10 @@
h.each_pair do |k,v|
if v.kind_of? URI
h[k] = v.to_s
end
end
- [controller.status, controller.headers, controller.body]
+ [controller.status, controller.headers, [controller.body.to_s]]
end
end
end
end