Tests: added tests for SERVER_SOFTWARE variable.

This commit is contained in:
Andrey Zelenkov
2018-05-21 16:41:33 +03:00
parent 3e8dbfe5ff
commit 7d224bfc9e
6 changed files with 15 additions and 6 deletions

View File

@@ -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']),