isolate_for_tests: upgrade to kgio-monkey 0.4.0
[unicorn.git] / t / t0013.ru
blob48a3a34018bd2ce250f71183ac545d46c2e787b3
1 #\ -E none
2 use Rack::ContentLength
3 use Rack::ContentType, 'text/plain'
4 app = lambda do |env|
5   case env['rack.input']
6   when Unicorn::StreamInput
7     [ 200, {}, %w(OK) ]
8   else
9     [ 500, {}, %w(NO) ]
10   end
11 end
12 run app