summaryrefslogtreecommitdiffhomepage
path: root/test/python/callable/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/callable/wsgi.py')
-rw-r--r--test/python/callable/wsgi.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/python/callable/wsgi.py b/test/python/callable/wsgi.py
new file mode 100644
index 00000000..365f82fa
--- /dev/null
+++ b/test/python/callable/wsgi.py
@@ -0,0 +1,7 @@
+def application(env, start_response):
+ start_response('204', [('Content-Length', '0')])
+ return []
+
+def app(env, start_response):
+ start_response('200', [('Content-Length', '0')])
+ return []