rev: add sendfile support
[rainbows.git] / t / simple-http_FiberSpawn.ru
blobb6994b674f0a4576a4be635de072b514f6044ad7
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == false && env['rainbows.model'] == :FiberSpawn
5     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is not true"
8   end