summaryrefslogtreecommitdiffhomepage
path: root/test/python/write/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/write/wsgi.py')
-rw-r--r--test/python/write/wsgi.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/python/write/wsgi.py b/test/python/write/wsgi.py
new file mode 100644
index 00000000..6c90b014
--- /dev/null
+++ b/test/python/write/wsgi.py
@@ -0,0 +1,5 @@
+def application(env, start_response):
+ write = start_response('200', [('Content-Length', '10')])
+ write(b'012')
+ write(b'345')
+ return b'6789'