Sign in
cobalt
/
cobalt
/
c52866be1febb1c09c04df4cb93d87f3595f4dc1
/
.
/
src
/
third_party
/
web_platform_tests
/
XMLHttpRequest
/
resources
/
delay.py
blob: bdfef9b34aea5260ccb5aaafac0a4f44f7236b84 [
file
] [
log
] [
blame
]
import
time
def
main
(
request
,
response
):
delay
=
float
(
request
.
GET
.
first
(
"ms"
,
500
))
time
.
sleep
(
delay
/
1E3
);
return
[(
"Content-type"
,
"text/plain"
)],
"TEST_DELAY"