test_isolate: bump versions and simplify
[rainbows.git] / t / simple-http_CoolioFiberSpawn.ru
blob9c39ed413f75a5016005aea50105c9e22fdd3fe4
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == false &&
5     env['rainbows.model'] == :CoolioFiberSpawn
6     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
7   else
8     raise env.inspect
9   end