Martin Panter <vadmium...@gmail.com> added the comment:

I think the solution here is to document what “SimpleCookie.value_encode” 
really does: RFC 2109 quoted-string escaping. If you want to a generate 
RFC-6265-compliant Set-Cookie string, do not include non-compliant characters 
in the cookie value, and consider using BaseCookie rather than SimpleCookie, 
especially if your “morsel” values are enclosed in double quotes.

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue19670>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to