mirror of
https://github.com/servo/servo
synced 2026-05-14 02:47:14 +02:00
8 lines
256 B
Python
8 lines
256 B
Python
import time
|
|
|
|
def main(request, response):
|
|
delay = float(request.GET.first("ms", 500))
|
|
time.sleep(delay / 1E3);
|
|
|
|
return [("Access-Control-Allow-Origin", "*"), ("Access-Control-Allow-Methods", "YO"), ("Content-type", "text/plain")], "TEST_DELAY"
|