From a44d358f2949e420dc82b530e07f21ae158f00ae Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Thu, 26 Apr 2018 17:37:24 +0300 Subject: Tests: added test for callable write() in Python. --- test/python/write/wsgi.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/python/write/wsgi.py (limited to 'test/python/write') 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' -- cgit