summaryrefslogtreecommitdiffhomepage
path: root/test/python
diff options
context:
space:
mode:
Diffstat (limited to 'test/python')
-rw-r--r--test/python/path/wsgi.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/python/path/wsgi.py b/test/python/path/wsgi.py
new file mode 100644
index 00000000..2807f6ef
--- /dev/null
+++ b/test/python/path/wsgi.py
@@ -0,0 +1,8 @@
+import os
+import sys
+
+def application(environ, start_response):
+ body = os.pathsep.join(sys.path).encode()
+
+ start_response('200', [('Content-Length', str(len(body)))])
+ return [body]