diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-05-21 16:41:33 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-05-21 16:41:33 +0300 |
commit | 7d224bfc9e39cb7885885bb554ca21ab26f5ddd0 (patch) | |
tree | b64a349507a19c1d3fdc5f6bbfda06e65db806a9 /test/python/variables/wsgi.py | |
parent | 3e8dbfe5ffdfbf525dd115508dc28d15bb81a237 (diff) | |
download | unit-7d224bfc9e39cb7885885bb554ca21ab26f5ddd0.tar.gz unit-7d224bfc9e39cb7885885bb554ca21ab26f5ddd0.tar.bz2 |
Tests: added tests for SERVER_SOFTWARE variable.
Diffstat (limited to '')
-rw-r--r-- | test/python/variables/wsgi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/python/variables/wsgi.py b/test/python/variables/wsgi.py index 60fa3401..53991e5e 100644 --- a/test/python/variables/wsgi.py +++ b/test/python/variables/wsgi.py @@ -10,6 +10,7 @@ def application(environ, start_response): ('Request-Uri', environ.get('REQUEST_URI')), ('Http-Host', environ.get('HTTP_HOST')), ('Server-Protocol', environ.get('SERVER_PROTOCOL')), + ('Server-Software', environ.get('SERVER_SOFTWARE')), ('Custom-Header', environ.get('HTTP_CUSTOM_HEADER')), ('Wsgi-Version', str(environ['wsgi.version'])), ('Wsgi-Url-Scheme', environ['wsgi.url_scheme']), |