[docs] Various obvious errors in cookies documentation (issue 11001)

vadmium+py at gmail.com vadmium+py at gmail.com
Thu Apr 25 03:43:00 EDT 2019


http://bugs.python.org/review/11001/diff/1905/Doc/library/http.cookies.rst
File Doc/library/http.cookies.rst (right):

http://bugs.python.org/review/11001/diff/1905/Doc/library/http.cookies.rst#newcode45
Doc/library/http.cookies.rst:45: and :meth:`value_encode` to use
encoding appropriate for values outside
On 2019/04/25 06:19:33, Martin Panter wrote:

> Suggest clarify what you mean by “appropriate”. The encoding is not
appropriate
> if you want to satisfy the Netscape or RFC 6265 specifications for
cookies. See
> <https://bugs.python.org/issue19670>.

[Pasting a reply from Luke, who had trouble posting it]

Given the comments in that ticket, it could read:

  This class derives from :class:`BaseCookie` and overrides
:meth:`value_decode`
  and :meth:`value_encode` to use RFC 2109 quoted-string escaping for
values
  outside the alphanumeric set.

http://bugs.python.org/review/11001/


More information about the docs mailing list