Skip to content

Commit 91f1795

Browse files
authored
Update http.cookiejar.rst
1 parent 453b92e commit 91f1795

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/library/http.cookiejar.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,17 @@ The following classes are provided:
8484
from / returned to the server.
8585

8686

87-
.. class:: DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=False, rfc2109_as_netscape=None, hide_cookie2=False, strict_domain=False, strict_rfc2965_unverifiable=True, strict_ns_unverifiable=False, strict_ns_domain=DefaultCookiePolicy.DomainLiberal, strict_ns_set_initial_dollar=False, strict_ns_set_path=False, secure_protocols=("https", "wss") )
87+
.. class:: DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=False, rfc2109_as_netscape=None, hide_cookie2=False, strict_domain=False, strict_rfc2965_unverifiable=True, strict_ns_unverifiable=False, strict_ns_domain=DefaultCookiePolicy.DomainLiberal, strict_ns_set_initial_dollar=False, strict_ns_set_path=False, secure_protocols=("https", "wss"), additional_country_code_slds={} )
8888

8989
Constructor arguments should be passed as keyword arguments only.
9090
*blocked_domains* is a sequence of domain names that we never accept cookies
9191
from, nor return cookies to. *allowed_domains* if not :const:`None`, this is a
9292
sequence of the only domains for which we accept and return cookies.
9393
*secure_protocols* is a sequence of protocols for which secure cookies can be
9494
added to. By default *https* and *wss* (secure websocket) are considered
95-
secure protocols. For all other arguments, see the documentation for
96-
:class:`CookiePolicy` and :class:`DefaultCookiePolicy` objects.
95+
secure protocols. *additional_country_code_slds* is a set of user-customized
96+
additional country code second-level domains. For all other arguments, see the
97+
documentation for :class:`CookiePolicy` and :class:`DefaultCookiePolicy` objects.
9798

9899
:class:`DefaultCookiePolicy` implements the standard accept / reject rules for
99100
Netscape and :rfc:`2965` cookies. By default, :rfc:`2109` cookies (ie. cookies

0 commit comments

Comments
 (0)