Sign in
webkit
/
WebKit
/
8f12c50ce7316945c59c03fc3896dd540b0f8624
/
.
/
LayoutTests
/
imported
/
w3c
/
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