Sign in
cobalt
/
cobalt
/
11295760be490ee3fe93b612c49343055ab2c485
/
.
/
src
/
third_party
/
web_platform_tests
/
fetch
/
api
/
resources
/
script-with-header.py
blob: 5337cc97bdd7737e40398cb066a98a5246ba4392 [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
headers
=
[(
"Content-type"
,
request
.
GET
.
first
(
"mime"
))]
if
"content"
in
request
.
GET
and
request
.
GET
.
first
(
"content"
)
==
"empty"
:
content
=
''
else
:
content
=
"console.log('Script loaded')"
return
200
,
headers
,
content