Content-Length: 3518 | pFad | http://github.com/python/cpython/pull/136238.patch

thub.com From b641e567c45a3e2db0e68c753a18b4889c2a346e Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Thu, 3 Jul 2025 18:29:34 +0800 Subject: [PATCH 1/2] Update http.cookiejar.rst --- Doc/library/http.cookiejar.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Doc/library/http.cookiejar.rst b/Doc/library/http.cookiejar.rst index 23ddecf873876d..52b4ff7607bf40 100644 --- a/Doc/library/http.cookiejar.rst +++ b/Doc/library/http.cookiejar.rst @@ -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 ``'$'``. @@ -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 From 7c42106d2f0c0cbcb7882be5c741a32b1a44cca0 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Sat, 5 Jul 2025 11:42:24 +0800 Subject: [PATCH 2/2] Update http.cookiejar.rst --- Doc/library/http.cookiejar.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Doc/library/http.cookiejar.rst b/Doc/library/http.cookiejar.rst index 52b4ff7607bf40..251aea891c3f98 100644 --- a/Doc/library/http.cookiejar.rst +++ b/Doc/library/http.cookiejar.rst @@ -555,6 +555,12 @@ 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 ``'$'``. @@ -564,15 +570,9 @@ Netscape protocol strictness switches: Don't allow setting cookies whose path doesn't path-match request URI. - -.. 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). +:attr:`~DefaultCookiePolicy.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.DomainStrictNoDots








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/pull/136238.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy