Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Doc/library/http.cookiejar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -555,12 +555,6 @@ Netscape protocol strictness switches:
Apply :rfc:`2965` rules on unverifiable transactions even to Netscape cookies.


.. attribute:: DefaultCookiePolicy.strict_ns_domain

Flags indicating how strict to be with domain-matching rules for Netscape
cookies. See below for acceptable values.


.. attribute:: DefaultCookiePolicy.strict_ns_set_initial_dollar

Ignore cookies in Set-Cookie: headers that have names starting with ``'$'``.
Expand All @@ -570,9 +564,15 @@ Netscape protocol strictness switches:

Don't allow setting cookies whose path doesn't path-match request URI.

:attr:`strict_ns_domain` is a collection of flags. Its value is constructed by
or-ing together (for example, ``DomainStrictNoDots|DomainStrictNonDomain`` means
both flags are set).

.. attribute:: DefaultCookiePolicy.strict_ns_domain

Flags indicating how strict to be with domain-matching rules for Netscape
cookies.

:attr:`strict_ns_domain` is a collection of flags. The acceptable value is
constructed by or-ing together (for example,
``DomainStrictNoDots|DomainStrictNonDomain`` means both flags are set).


.. attribute:: DefaultCookiePolicy.DomainStrictNoDots
Expand Down
Loading