summaryrefslogblamecommitdiffhomepage
path: root/test/python/errors_write/wsgi.py
blob: 148bce9e4716f4628448bcdb8b00417d1cca8403 (plain) (tree)
1
2
3
4
5
6

                                                         
                                  


                                                    
def application(environ, start_response):
    environ['wsgi.errors'].write('Error in application.')
    environ['wsgi.errors'].flush()

    start_response('200', [('Content-Length', '0')])
    return []