rev_thread_spawn: make 1.9 TeeInput performance tolerable
[rainbows.git] / t / simple-http_Rev.ru
bloba3e2855c7f0cf4f0e48078257080085577450718
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == false && env['rainbows.model'] == :Rev
5     [ 200, {}, [ env.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is true"
8   end