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