From a01a98ce36dd47c1be1df37470cac1656efac31e Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Mon, 2 Apr 2018 17:03:41 +0300 Subject: Tests: more Python tests. --- test/python/body_io_file/file | 1 + test/python/body_io_file/wsgi.py | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 test/python/body_io_file/file create mode 100644 test/python/body_io_file/wsgi.py (limited to 'test/python/body_io_file') diff --git a/test/python/body_io_file/file b/test/python/body_io_file/file new file mode 100644 index 00000000..273a402f --- /dev/null +++ b/test/python/body_io_file/file @@ -0,0 +1 @@ +body 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 -- cgit