Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/heads/DOMParser-interface
/
.
/
fetch
/
h1-parsing
/
resources
/
script-with-0x00-in-header.py
blob: 39f58d8270e7671bf74e40ac84e05a7558df4f68 [
file
] [
log
] [
blame
] [
edit
]
def
main
(
request
,
response
):
response
.
headers
.
set
(
b
"Content-Type"
,
b
"text/javascript"
)
response
.
headers
.
set
(
b
"Custom"
,
b
"\0"
)
return
b
"var thisIsJavaScript = 0"