test.ru 123 B

1234567
  1. require 'rack'
  2. app = lambda { |env|
  3. [200, {'Content-Type'=>'text/plain'}, ['BANG!']] }
  4. use Rack::ContentLength
  5. run app