xref: /unit/test/ruby/input_read_buffer/config.ru (revision 585:17703effc76a)
1app = Proc.new do |env|
2    body = ''
3    env['rack.input'].read(nil, body)
4    ['200', {
5        'Content-Length' => body.length.to_s
6    }, [body]]
7end
8
9run app
10