summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resource-timing/resources/delay-css.py
blob: 9a905960eea4ac35ab1abc487f80084621e358d2 (plain)
1
2
3
4
5
6
import time

def main(request, response):
    time.sleep(float(request.GET.first(b"delay", 1000)) / 1000)
    response.headers.set('Content-Type', 'text/css')
    return "/* */"