summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/service-workers/service-worker/resources/fetch-request-no-freshness-headers-script.py
blob: bf8df154a88cf36dc6a1fa68a97592e03d8725bc (plain)
1
2
3
4
5
6
def main(request, response):
    headers = []
    # Sets an ETag header to check the cache revalidation behavior.
    headers.append((b"ETag", b"abc123"))
    headers.append((b"Content-Type", b"text/javascript"))
    return headers, b"/* empty script */"