summaryrefslogtreecommitdiffhomepage
path: root/test/python/server_port/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/python/server_port/wsgi.py7
1 files changed, 7 insertions, 0 deletions
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 []