Add -N or --no-default-middleware option.
[rainbows.git] / t / simple-http_ThreadPool.ru
blobcd5df82bdcce5c1d6a6e74e1477e1b1e201b4871
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] && env['rainbows.model'] == :ThreadPool
5     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is not true"
8   end