[Zope] Question about setCookie()

Jean-Francois.Doyon@CCRS.NRCan.gc.ca Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Wed, 26 Feb 2003 14:44:50 -0500


Very well, thanks for the help!

SetHeader it is !!!

J.F.

-----Original Message-----
From: Jamie Heilman [mailto:jamie@audible.transient.net]
Sent: Tuesday, February 25, 2003 3:36 PM
To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Cc: zope@zope.org
Subject: Re: [Zope] Question about setCookie()


Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
> I just started using setCookie() for the first time, and noticed it likes
to
> put all my values in double quotes!

indeed, http://collector.zope.org/Zope/569
 
> I went to quickly read RFC2109, and I don't see anything suggesting values
> should be quoted at all.

section 4.1 note the definition of word, but thats not really all that
big a deal as almost no browser follows the RFCs anyway, the Netscape
Cookie "standard" still rules on high afaict.

> Any way around this? Can I safely alter the HTTPResponse.py code to remove
> them?

probably, but don't forget the regex that strips them off when
present, that'll need to be altered too

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"Paranoia is a disease unto itself, and may I add, the person standing
 next to you may not be who they appear to be, so take precaution."
						-Sathington Willoughby