reimplement client_max_body_size handlers
[rainbows.git] / t / simple-http_RevFiberSpawn.ru
blobea9b0e35043c53168e0902caa83e23783439aa02
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == false &&
5     env['rainbows.model'] == :RevFiberSpawn
6     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
7   else
8     raise env.inspect
9   end