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>"