summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/mirror/config.ru
blob: a4bba0e6e8e31b2419c0e70441d1e37b6ca009d4 (plain) (blame)
1
2
3
4
5
6
7
8
app = Proc.new do |env|
    body = env['rack.input'].read
    ['200', {
        'Content-Length' => body.length.to_s
    }, [body]]
end

run app