Sign in
webkit
/
WebKit
/
47b8206e2462d5a862fef65e142ae8764bd9b9e5
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
content-security-policy
/
support
/
echo-policy.py
blob: 3a4b2f3d2e53eb2bdb8fd67263ac52849aad237e [
file
] [
log
] [
blame
]
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>"