Rainbows! 0.96.0 - range support
[rainbows.git] / t / simple-http_ThreadSpawn.ru
blobea5dee252b2af7eb0ae253e03d87394e908763bc
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] && env['rainbows.model'] == :ThreadSpawn
5     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is not true"
8   end