xref: /unit/test/python/errors_write/wsgi.py (revision 1242:58ee3ef5a061)
1def application(environ, start_response):
2    environ['wsgi.errors'].write('Error in application.')
3    environ['wsgi.errors'].flush()
4
5    start_response('200', [('Content-Length', '0')])
6    return []
7