1 2 3 4 5 6
def main(request, response): token = request.GET.first(b"token") if request.server.stash.remove(token) is not None: return u"1" else: return u"0"