Lines Matching refs:netscape
445 """Ad-hoc parser for Netscape protocol cookie-attributes.
447 The old Netscape cookie format for Set-Cookie can for instance contain
452 that Netscape Cookie headers contain. Ronald Tschalar's HTTPClient
460 # RFC 2109 attrs (may turn up in Netscape cookies, too)
710 This class represents both Netscape and RFC 2965 cookies.
810 The subclass DefaultCookiePolicy defines the standard rules for Netscape
850 netscape=True, rfc2965=False,
861 self.netscape = netscape
932 # Version is always set to 0 by parse_ns_headers if it's a Netscape
940 elif cookie.version == 0 and not self.netscape:
941 _debug(" Netscape cookies are switched off")
952 _debug(" third-party Netscape cookie during "
1079 elif cookie.version == 0 and not self.netscape:
1080 _debug(" Netscape cookies are switched off")
1091 _debug(" third-party Netscape cookie during unverifiable "
1139 _debug(" request-host %s does not match Netscape cookie domain "
1282 # (not for Netscape protocol, which already has any quotes
1283 # intact, due to the poorly-specified Netscape Cookie: syntax)
1375 # since V0 cookies may be a mish-mash of Netscape and RFC 2109), we
1475 # Netscape spec parts company from reality here
1551 # treat 2109 cookies as Netscape cookies rather than
1557 # get cookie-attributes for RFC 2965 and Netscape protocols
1563 netscape = self._policy.netscape
1567 (not rfc2965_hdrs and not netscape) or
1568 (not netscape and not rfc2965)):
1578 if ns_hdrs and netscape:
1580 # RFC 2109 and Netscape cookies
1588 # Look for Netscape cookies (from Set-Cookie headers) that match
1590 # For each match, keep the RFC 2965 cookie and ignore the Netscape
1592 # bundled in with the Netscape cookies for this purpose, which is