summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/cors/resources/checkandremove.py
blob: f713d990afcddb0cf000499c6b9a2e37b17481d0 (plain)
1
2
3
4
5
6
def main(request, response):
    token = request.GET.first("token")
    if request.server.stash.remove(token) is not None:
        return "1"
    else:
        return "0"