t0501: fix ambiguous shell construct for capture + subshells
[rainbows.git] / t / simple-http_CoolioThreadSpawn.ru
blob3c4bcaa798faae901f241ad2f57beefa82286b44
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] && env['rainbows.model'] == :CoolioThreadSpawn
5     [ 200, {}, [ env.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is false"
8   end