summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/h1-parsing/resources/document-with-0x00-in-header.py
blob: 223b3c4027826f2bba1394db465c93ec7cbbe001 (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><b>This is a document.</b>"