From 1bece759a3615b97c0a78e204eff23d13bba052d Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 23 Oct 2019 16:05:35 +0300 Subject: Tests: added flush() in "errors_write" Python application. --- test/python/errors_write/wsgi.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/python/errors_write/wsgi.py') diff --git a/test/python/errors_write/wsgi.py b/test/python/errors_write/wsgi.py index b1a9d2ee..148bce9e 100644 --- a/test/python/errors_write/wsgi.py +++ b/test/python/errors_write/wsgi.py @@ -1,5 +1,6 @@ def application(environ, start_response): environ['wsgi.errors'].write('Error in application.') + environ['wsgi.errors'].flush() start_response('200', [('Content-Length', '0')]) return [] -- cgit