summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/h1-parsing/resources/document-with-0x00-in-header.py
blob: d91998b998dde35ed3d08a0177443bea7291b7be (plain)
1
2
3
4
def main(request, response):
    response.headers.set(b"Content-Type", b"text/html")
    response.headers.set(b"Custom", b"\0")
    return b"<!doctype html><script>top.frameLoaded=true</script><b>This is a document.</b>"