minor cleanups following state cleanups
[rainbows.git] / t / simple-http_Revactor.ru
blobaa37aea33833dcda60c7936172c83325caf2a323
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == false && env['rainbows.model'] == :Revactor
5     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is true"
8   end