1 def not_found_hook(environ, start_response): 2 start_response('200 OK', [('Content-type', 'text/plain')]) 3 return [b'not found'] 4