Searched refs:user_domain_match (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_cookielib.py | 705 from cookielib import domain_match, user_domain_match 718 self.assertTrue(user_domain_match("acme.com", "acme.com")) 719 self.assertFalse(user_domain_match("acme.com", ".acme.com")) 720 self.assertTrue(user_domain_match("rhubarb.acme.com", ".acme.com")) 721 self.assertTrue(user_domain_match("www.rhubarb.acme.com", ".acme.com")) 722 self.assertTrue(user_domain_match("x.y.com", "x.Y.com")) 723 self.assertTrue(user_domain_match("x.y.com", ".Y.com")) 724 self.assertFalse(user_domain_match("x.y.com", "Y.com")) 725 self.assertTrue(user_domain_match("y.com", "Y.com")) 726 self.assertFalse(user_domain_match(".y.com", "Y.com")) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_http_cookiejar.py | 15 reach, is_HDN, domain_match, user_domain_match, request_path, 826 self.assertTrue(user_domain_match("acme.com", "acme.com")) 827 self.assertFalse(user_domain_match("acme.com", ".acme.com")) 828 self.assertTrue(user_domain_match("rhubarb.acme.com", ".acme.com")) 829 self.assertTrue(user_domain_match("www.rhubarb.acme.com", ".acme.com")) 830 self.assertTrue(user_domain_match("x.y.com", "x.Y.com")) 831 self.assertTrue(user_domain_match("x.y.com", ".Y.com")) 832 self.assertFalse(user_domain_match("x.y.com", "Y.com")) 833 self.assertTrue(user_domain_match("y.com", "Y.com")) 834 self.assertFalse(user_domain_match(".y.com", "Y.com")) [all …]
|
/external/python/cpython2/Lib/ |
D | cookielib.py | 577 def user_domain_match(A, B): function 906 if user_domain_match(domain, blocked_domain): 923 if user_domain_match(domain, allowed_domain):
|
/external/python/cpython3/Lib/http/ |
D | cookiejar.py | 592 def user_domain_match(A, B): function 921 if user_domain_match(domain, blocked_domain): 938 if user_domain_match(domain, allowed_domain):
|