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