diff -r 5c9b36969abc Lib/http/cookiejar.py --- a/Lib/http/cookiejar.py Tue Apr 09 06:00:16 2013 -0700 +++ b/Lib/http/cookiejar.py Tue Apr 09 21:38:43 2013 +0800 @@ -699,17 +699,17 @@ def is_third_party(request): RFC 2965, section 3.3.6: An unverifiable transaction is to a third-party host if its request- host U does not domain-match the reach R of the request-host O in the origin transaction. """ req_host = request_host(request) - if not domain_match(req_host, reach(request.get_origin_req_host())): + if not domain_match(req_host, reach(request.origin_req_host)): return True else: return False class Cookie: """HTTP Cookie.