Sign in
cobalt
/
cobalt
/
527110903c994f57b3fc64852b74e941d515b683
/
.
/
third_party
/
web_platform_tests
/
service-workers
/
service-worker
/
resources
/
fetch-request-no-freshness-headers-script.py
blob: bf8df154a88cf36dc6a1fa68a97592e03d8725bc [
file
] [
log
] [
blame
]
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 */"