Sign in
webkit
/
WebKit
/
47b8206e2462d5a862fef65e142ae8764bd9b9e5
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
xhr
/
resources
/
parse-headers.py
blob: 8520baad880fc0e6cf7cf3c8e8194c18fcfee309 [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
content
=
u
""
if
b
"my-custom-header"
in
request
.
GET
:
val
=
request
.
GET
.
first
(
b
"my-custom-header"
)
response
.
headers
.
set
(
b
"My-Custom-Header"
,
val
)
return
content