Sign in
webkit
/
WebKit
/
b02737e0dcbaa3a4c4e66931839e0609e605d359
/
.
/
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>"