def logout(request): response = web.HTTPFound(location='/') yield from forget(request, response) return response
def do_forget(request): response = web.Response() yield from forget(request, response)
def logout(request): response = web.HTTPFound('/') yield from forget(request, response) return response
def logout(self, request): response = web.Response(body=b'You have been logged out') yield from forget(request, response) return response
def post(self): response = self.response('') yield from forget(self.request, response) return response