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