mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
merge
This commit is contained in:
commit
5e65f66eb1
1 changed files with 11 additions and 2 deletions
|
@ -17,8 +17,17 @@ cookie value.
|
||||||
|
|
||||||
The module formerly strictly applied the parsing rules described in the
|
The module formerly strictly applied the parsing rules described in the
|
||||||
:rfc:`2109` and :rfc:`2068` specifications. It has since been discovered that
|
: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
|
MSIE 3.0x doesn't follow the character rules outlined in those specs and also
|
||||||
result, the parsing rules used are a bit less strict.
|
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`).
|
||||||
|
|
||||||
|
.. versionchanged:: 3.3
|
||||||
|
Allowed ':' as a valid Cookie name character.
|
||||||
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue