Sign in
◑
Theme
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/heads/jdm-patch-7
/
.
/
content-security-policy
/
support
/
echo-policy.py
blob: ebde3dc5a4bf75c268d591c33a31cb2d38dfc5f4 [
file
] [
edit
]
def
main
(
request
,
response
):
policy
=
request
.
GET
.
first
(
"policy"
);
return
[(
"Content-Type"
,
"text/html"
),
(
"Content-Security-Policy"
,
policy
)],
"<!DOCTYPE html><title>Echo.</title>"