summaryrefslogtreecommitdiffhomepage
path: root/test/ruby
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-05-21 16:41:33 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-05-21 16:41:33 +0300
commit7d224bfc9e39cb7885885bb554ca21ab26f5ddd0 (patch)
treeb64a349507a19c1d3fdc5f6bbfda06e65db806a9 /test/ruby
parent3e8dbfe5ffdfbf525dd115508dc28d15bb81a237 (diff)
downloadunit-7d224bfc9e39cb7885885bb554ca21ab26f5ddd0.tar.gz
unit-7d224bfc9e39cb7885885bb554ca21ab26f5ddd0.tar.bz2
Tests: added tests for SERVER_SOFTWARE variable.
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/variables/config.ru1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/variables/config.ru b/test/ruby/variables/config.ru
index 4caac3c2..55d01796 100644
--- a/test/ruby/variables/config.ru
+++ b/test/ruby/variables/config.ru
@@ -9,6 +9,7 @@ app = Proc.new do |env|
'Request-Uri' => env['REQUEST_URI'],
'Http-Host' => env['HTTP_HOST'],
'Server-Protocol' => env['SERVER_PROTOCOL'],
+ 'Server-Software' => env['SERVER_SOFTWARE'],
'Custom-Header' => env['HTTP_CUSTOM_HEADER'],
'Rack-Version' => version,
'Rack-Url-Scheme' => env['rack.url_scheme'],