Sign in
cobalt
/
cobalt
/
03affbc4572772eb9eef7f3df4038cc60001eea6
/
.
/
src
/
third_party
/
web_platform_tests
/
cors
/
resources
/
checkandremove.py
blob: f713d990afcddb0cf000499c6b9a2e37b17481d0 [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
token
=
request
.
GET
.
first
(
"token"
)
if
request
.
server
.
stash
.
remove
(
token
)
is
not
None
:
return
"1"
else
:
return
"0"