mirror of
https://github.com/python/cpython.git
synced 2024-12-04 15:25:13 +08:00
issue2193 - Update 3.2 docs about legal characters allowed in Cookie name
This commit is contained in:
parent
bcc17eefd2
commit
a42665f4d4
@ -17,8 +17,14 @@ cookie value.
|
||||
|
||||
The module formerly strictly applied the parsing rules described in the
|
||||
:rfc:`2109` and :rfc:`2068` specifications. It has since been discovered that
|
||||
MSIE 3.0x doesn't follow the character rules outlined in those specs. As a
|
||||
result, the parsing rules used are a bit less strict.
|
||||
MSIE 3.0x doesn't follow the character rules outlined in those specs and also
|
||||
many current day browsers and servers have relaxed parsing rules when comes to
|
||||
Cookie handling. As a result, the parsing rules used are a bit less strict.
|
||||
|
||||
The character set, :data:`string.ascii_letters`, :data:`string.digits` and
|
||||
``!#$%&'*+-.^_`|~`` denote the set of valid characters allowed by this module
|
||||
in Cookie name (as :attr:`~Morsel.key`).
|
||||
|
||||
|
||||
.. note::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user