Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
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"
)],
""