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








                                            
app = Proc.new do |env|
    body = env['rack.input'].gets
    #body += env['rack.input'].gets
    ['200', {
        'Content-Length' => body.length.to_s
    }, [body]]
end

run app