summaryrefslogtreecommitdiffhomepage
path: root/test/python/prefix/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/python/prefix/wsgi.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/python/prefix/wsgi.py b/test/python/prefix/wsgi.py
new file mode 100644
index 00000000..83b58c9a
--- /dev/null
+++ b/test/python/prefix/wsgi.py
@@ -0,0 +1,10 @@
+def application(environ, start_response):
+ start_response(
+ '200',
+ [
+ ('Content-Length', '0'),
+ ('Script-Name', environ.get('SCRIPT_NAME', 'NULL')),
+ ('Path-Info', environ['PATH_INFO']),
+ ],
+ )
+ return []