summaryrefslogtreecommitdiffhomepage
path: root/test/python/body_io
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/body_io')
-rw-r--r--test/python/body_io/wsgi.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/python/body_io/wsgi.py b/test/python/body_io/wsgi.py
new file mode 100644
index 00000000..14303b5f
--- /dev/null
+++ b/test/python/body_io/wsgi.py
@@ -0,0 +1,6 @@
+import io
+
+def application(env, start_response):
+ start_response('200', [('Content-Length', '10')])
+ f = io.BytesIO(b'0123456789')
+ return f