summaryrefslogtreecommitdiffstats
path: root/Doc/library/cookielib.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/cookielib.rst')
-rw-r--r--Doc/library/cookielib.rst12
1 files changed, 2 insertions, 10 deletions
diff --git a/Doc/library/cookielib.rst b/Doc/library/cookielib.rst
index 44045d3..18f471e 100644
--- a/Doc/library/cookielib.rst
+++ b/Doc/library/cookielib.rst
@@ -8,10 +8,6 @@
.. sectionauthor:: John J. Lee <jjl@pobox.com>
-.. versionadded:: 2.4
-
-
-
The :mod:`cookielib` module defines classes for automatic handling of HTTP
cookies. It is useful for accessing web sites that require small pieces of data
-- :dfn:`cookies` -- to be set on the client machine by an HTTP response from a
@@ -517,19 +513,17 @@ all be assigned to.
case RFC 2109 cookies are downgraded if and only if RFC 2965 handling is turned
off. Therefore, RFC 2109 cookies are downgraded by default.
- .. versionadded:: 2.5
General strictness switches:
-
.. attribute:: DefaultCookiePolicy.strict_domain
Don't allow sites to set two-component domains with country-code top-level
domains like ``.co.uk``, ``.gov.uk``, ``.co.nz``.etc. This is far from perfect
and isn't guaranteed to work!
-RFC 2965 protocol strictness switches:
+RFC 2965 protocol strictness switches:
.. attribute:: DefaultCookiePolicy.strict_rfc2965_unverifiable
@@ -538,8 +532,8 @@ RFC 2965 protocol strictness switches:
another site). If this is false, cookies are *never* blocked on the basis of
verifiability
-Netscape protocol strictness switches:
+Netscape protocol strictness switches:
.. attribute:: DefaultCookiePolicy.strict_ns_unverifiable
@@ -683,8 +677,6 @@ internal consistency, so you should know what you're doing if you do that.
:mod:`cookielib` may 'downgrade' RFC 2109 cookies to Netscape cookies, in
which case :attr:`version` is 0.
- .. versionadded:: 2.5
-
.. attribute:: Cookie.port_specified