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