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