summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/server_port/config.ru
blob: af30817763e49973a48439594af083e819826c0b (plain) (blame)
1
2
3
4
5
6
7
8
app = Proc.new do |env|
    ['200', {
        'Content-Length' => '0',
        'Server-Port' => env['SERVER_PORT']
    }, ['']]
end

run app