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