Sign in
webkit
/
WebKit
/
d0e9359bbbbbe54170cea1569c9fb736cfa3bccd
/
.
/
LayoutTests
/
http
/
wpt
/
fetch
/
resources
/
echo-origin.py
blob: bbe37ab73534a3a2223a670afb8ebea855ca39a6 [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
response
.
headers
.
set
(
"Content-Type"
,
"text/html"
)
response
.
content
=
"<script>parent.postMessage('"
+
request
.
headers
.
get
(
"Origin"
,
"no header"
)
+
"')</script>"