summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-04-22 02:30:17 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-04-22 02:30:17 (GMT)
commita42665f4d48e11485de430f00fa4beec60a2a646 (patch)
treedce76882de2ebdeea12aed01f05482b7988cca26 /Doc
parentbcc17eefd2b630aca2fc0f4e27f274a028030542 (diff)
downloadcpython-a42665f4d48e11485de430f00fa4beec60a2a646.zip
cpython-a42665f4d48e11485de430f00fa4beec60a2a646.tar.gz
cpython-a42665f4d48e11485de430f00fa4beec60a2a646.tar.bz2
issue2193 - Update 3.2 docs about legal characters allowed in Cookie name
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.cookies.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst
index 6baf28e..5ae3fd4 100644
--- a/Doc/library/http.cookies.rst
+++ b/Doc/library/http.cookies.rst
@@ -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::