summaryrefslogblamecommitdiffhomepage
path: root/test/ruby/input_read_buffer_not_empty/config.ru
blob: 5f1f0434214abc3001ec52c30a35e1be7eda392b (plain) (tree)
1
2
3
4
5
6
7
8
9








                                            
app = Proc.new do |env|
    body = 'blah'
    env['rack.input'].read(nil, body)
    ['200', {
        'Content-Length' => body.length.to_s
    }, [body]]
end

run app