blob: 561d80493f68f8b3d87c804935faace88e407002 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import atexit
def application(environ, start_response):
def at_exit():
environ['wsgi.errors'].write('At exit called.')
atexit.register(at_exit)
start_response('200', [('Content-Length', '0')])
return []
|