@@ -462,16 +462,16 @@ receiving cookies. There are also some strictness switches that allow you to
462462tighten up the rather loose Netscape protocol rules a little bit (at the cost of
463463blocking some benign cookies).
464464
465- A domain blacklist and whitelist is provided (both off by default). Only domains
466- not in the blacklist and present in the whitelist (if the whitelist is active)
465+ A domain denylist and allowlist is provided (both off by default). Only domains
466+ not in the denylist and present in the allowlist (if the allowlist is active)
467467participate in cookie setting and returning. Use the *blocked_domains *
468468constructor argument, and :meth: `blocked_domains ` and
469469:meth: `set_blocked_domains ` methods (and the corresponding argument and methods
470- for *allowed_domains *). If you set a whitelist , you can turn it off again by
470+ for *allowed_domains *). If you set an allowlist , you can turn it off again by
471471setting it to :const: `None `.
472472
473473Domains in block or allow lists that do not start with a dot must equal the
474- cookie domain to be matched. For example, ``"example.com" `` matches a blacklist
474+ cookie domain to be matched. For example, ``"example.com" `` matches a denylist
475475entry of ``"example.com" ``, but ``"www.example.com" `` does not. Domains that do
476476start with a dot are matched by more specific domains too. For example, both
477477``"www.example.com" `` and ``"www.coyote.example.com" `` match ``".example.com" ``
@@ -494,7 +494,7 @@ and ``".168.1.2"``, 192.168.1.2 is blocked, but 193.168.1.2 is not.
494494
495495.. method :: DefaultCookiePolicy.is_blocked(domain)
496496
497- Return whether *domain * is on the blacklist for setting or receiving cookies.
497+ Return whether *domain * is on the denylist for setting or receiving cookies.
498498
499499
500500.. method :: DefaultCookiePolicy.allowed_domains()
@@ -509,7 +509,7 @@ and ``".168.1.2"``, 192.168.1.2 is blocked, but 193.168.1.2 is not.
509509
510510.. method :: DefaultCookiePolicy.is_not_allowed(domain)
511511
512- Return whether *domain * is not on the whitelist for setting or receiving
512+ Return whether *domain * is not on the allowlist for setting or receiving
513513 cookies.
514514
515515:class: `DefaultCookiePolicy ` instances have the following attributes, which are
0 commit comments