summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-22 06:06:48 (GMT)
committerBrett Cannon <brett@python.org>2012-04-22 06:06:48 (GMT)
commit5e65f66eb13d454c1e1d2342000e75dac2000c1a (patch)
tree2fe7bffc730d758d4e837982d51adb4627d5f028
parentcf649958f72efbe2d68ffcfcb0a01ce53ff69f88 (diff)
parentdf7070a7517f7af6b9fd49238e2a65ca4a29c697 (diff)
downloadcpython-5e65f66eb13d454c1e1d2342000e75dac2000c1a.zip
cpython-5e65f66eb13d454c1e1d2342000e75dac2000c1a.tar.gz
cpython-5e65f66eb13d454c1e1d2342000e75dac2000c1a.tar.bz2
merge
-rw-r--r--Doc/library/http.cookies.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst
index 6baf28e..646f2e8 100644
--- a/Doc/library/http.cookies.rst
+++ b/Doc/library/http.cookies.rst
@@ -17,8 +17,17 @@ 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`).
+
+.. versionchanged:: 3.3
+ Allowed ':' as a valid Cookie name character.
+
.. note::