xref: /unit/test/ruby/header_custom/config.ru (revision 585:17703effc76a)
1*585Szelenkov@nginx.comapp = Proc.new do |env|
2*585Szelenkov@nginx.com    ['200', {
3*585Szelenkov@nginx.com        'Content-Length' => '0',
4*585Szelenkov@nginx.com        'Custom-Header' => env['rack.input'].read
5*585Szelenkov@nginx.com    }, []]
6*585Szelenkov@nginx.comend
7*585Szelenkov@nginx.com
8*585Szelenkov@nginx.comrun app
9