'Handler 404 Not Found errors.'

def handle_404(self):

    self.send_response(http_client.NOT_FOUND, message='Not    Found')
    self.send_header('Content-type', 'text/html')
    self.end_headers()
    self.wfile.write('404')
