Sign in
webkit
/
WebKit
/
a659cc2560ef03ca74fc359443f5a95cd40bafd1
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
content-security-policy
/
support
/
echo-policy.py
blob: ebde3dc5a4bf75c268d591c33a31cb2d38dfc5f4 [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
policy
=
request
.
GET
.
first
(
"policy"
);
return
[(
"Content-Type"
,
"text/html"
),
(
"Content-Security-Policy"
,
policy
)],
"<!DOCTYPE html><title>Echo.</title>"