tenfourfox/testing/web-platform/tests/websockets/cookies/support/set-cookie.py

6 lines
172 B
Python
Raw Normal View History

2017-04-19 07:56:45 +00:00
import urllib
def main(request, response):
response.headers.set('Set-Cookie', urllib.unquote(request.url_parts.query))
return [("Content-Type", "text/plain")], ""