Sign in
cobalt
/
cobalt
/
5cb259d50f6e15a7a4b4262c245550c9e567a308
/
.
/
src
/
third_party
/
web_platform_tests
/
websockets
/
cookies
/
support
/
set-cookie.py
blob: 8a47d7cdd8ea0542d68f1cf5a2a76e609efb5727 [
file
] [
log
] [
blame
]
import
urllib
def
main
(
request
,
response
):
response
.
headers
.
set
(
'Set-Cookie'
,
urllib
.
unquote
(
request
.
url_parts
.
query
))
return
[(
"Content-Type"
,
"text/plain"
)],
""