chromium/third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/module/resources/delayed-modulescript.py

import time

def main(request, response):
    delay = float(request.GET.first(b"ms", 500))
    time.sleep(delay / 1E3)

    return [(b"Content-type", b"text/javascript")], u"export let delayedLoaded = true;"