'Render a page with a 404 return code and a message.'

def not_found(self, request):

    fmt = 'The    path    <q>%s</q>    was    not    understood    by    this    server.'
    msg = (fmt % (request['parsed_uri'],))
    openid_url = request['query'].get('openid_url')
    return self.render(request, msg, 'error', openid_url, status='404    Not    Found')
