http_server: kill a warning
[rainbows.git] / t / simple-http_XEpoll.ru
blob518099b1bfa688d8e2ce5996d6f256bdf44ae69c
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == false && env['rainbows.model'] == :XEpoll
5     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
6   else
7     raise env.inspect
8   end