Quixote cookies

menkaur at gmail.com menkaur at gmail.com
Sun Jan 20 11:17:03 CET 2008


Hi, guys
I'm trying to use cookies in Quixote.
This is the code:

env = copy(os.environ)
req = HTTPRequest(sys.stdin, env)
req.response.set_cookie("xxx","666")
cc = req.get_cookie("xxx");

For some reason it cc is always None. What am I doing wrong?




More information about the Python-list mailing list