1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-11 19:08:36 +00:00
Files
UXP/testing/web-platform/tests/XMLHttpRequest/resources/delay.py
T

7 lines
177 B
Python

import time
def main(request, response):
delay = float(request.GET.first("ms", 500))
time.sleep(delay / 1E3);
return [("Content-type", "text/plain")], "TEST_DELAY"