chromium/third_party/blink/web_tests/external/wpt/content-security-policy/support/echo-policy.py

def main(request, response):
    policy = request.GET.first(b"policy")
    return [(b"Content-Type", b"text/html"), (b"Content-Security-Policy", policy)], b"<!DOCTYPE html><title>Echo.</title>"