summary refs log tree commit homepage
path: root/t/simple-http_RevThreadPool.ru
blob: 43dde1a567b01614f82a273f9ee15d0a938d1377 (plain)
1
2
3
4
5
6
7
8
9
use Rack::ContentLength
use Rack::ContentType
run lambda { |env|
  if env['rack.multithread'] && env['rainbows.model'] == :RevThreadPool
    [ 200, {}, [ env.inspect << "\n" ] ]
  else
    raise "rack.multithread is false"
  end
}