summaryrefslogtreecommitdiffhomepage
path: root/test/python/start_response_exit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/python/start_response_exit/wsgi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/python/start_response_exit/wsgi.py b/test/python/start_response_exit/wsgi.py
new file mode 100644
index 00000000..37c3acfe
--- /dev/null
+++ b/test/python/start_response_exit/wsgi.py
@@ -0,0 +1,4 @@
+def application(env, start_response):
+ start_response('200', [('Content-Length', '1')])
+ exit()
+ return [b'X']