summaryrefslogtreecommitdiffhomepage
path: root/test/python/errors_write
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/errors_write')
-rw-r--r--test/python/errors_write/wsgi.py1
1 files changed, 1 insertions, 0 deletions
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 []