From 09f2009df564ab2063ee4713ba24247039945146 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 20 Feb 2018 20:34:41 +0300 Subject: Tests: reworked python tests with application. --- test/python/server_port/wsgi.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/python/server_port/wsgi.py (limited to 'test/python/server_port') diff --git a/test/python/server_port/wsgi.py b/test/python/server_port/wsgi.py new file mode 100644 index 00000000..89cd82b3 --- /dev/null +++ b/test/python/server_port/wsgi.py @@ -0,0 +1,7 @@ +def application(environ, start_response): + + start_response('200', [ + ('Content-Length', '0'), + ('Server-Port', environ.get('SERVER_PORT')) + ]) + return [] -- cgit