def get_error_html(self, status_code):
        """Override to implement custom error pages."""
        return "<html><title>%(code)d: %(message)s</title>" \
               "<body>%(code)d: %(message)s</body></html>" % {
            "code": status_code,
            "message": http.client.responses[status_code],
        }
Override to implement custom error pages.
recipes/Python/576906_Python_3_WSGI_Server/recipe-576906.py