diff options
Diffstat (limited to 'test/ruby/server_port/config.ru')
-rw-r--r-- | test/ruby/server_port/config.ru | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/server_port/config.ru b/test/ruby/server_port/config.ru new file mode 100644 index 00000000..af308177 --- /dev/null +++ b/test/ruby/server_port/config.ru @@ -0,0 +1,8 @@ +app = Proc.new do |env| + ['200', { + 'Content-Length' => '0', + 'Server-Port' => env['SERVER_PORT'] + }, ['']] +end + +run app |