Problem with Cookie module load function
Asle Pedersen
apederse at my-deja.com
Mon Jun 11 05:13:38 EDT 2001
I am trying to load the following cookie, received from a server:
Set-Cookie: SITESERVER=ID=24752d75a82c30c709a736c1af4b01e5;
expires=Monday, 01-Jan-2035 00:00:00 GMT; path=/; domain=.editedout.com
The Load function seem to be unable to parse it correctly returning
SITESERVER='ID' instead of SITESERVER='ID=24752d75a82c30c709a736c1af4b01e5'.
Has anyone else experienced this problem. One solution is to parse the
cookie data myself and skip the load function entirely. I guess that
the cookie is not conformant with any standards, but there
is little I can do about that.... any suggestions on what to do?
/Asle
More information about the Python-list
mailing list