summaryrefslogtreecommitdiffstats
path: root/Lib/http/cookiejar.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2013-04-09 14:11:07 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2013-04-09 14:11:07 (GMT)
commit7005b1f90a42c9187ff9b93a7be0244ef94af8a1 (patch)
treed7423faffd9a5e0b6217d88188fe30979b670737 /Lib/http/cookiejar.py
parentfa5ef18e612fafccbd65a25d61b52de890f2ef79 (diff)
parentd9fbf36bbd9e19c2973dae507f0a522c62ec7be9 (diff)
downloadcpython-7005b1f90a42c9187ff9b93a7be0244ef94af8a1.zip
cpython-7005b1f90a42c9187ff9b93a7be0244ef94af8a1.tar.gz
cpython-7005b1f90a42c9187ff9b93a7be0244ef94af8a1.tar.bz2
#17678: Remove the use of a deprecated method http/cookiejar.py. Changing the
usage of get_origin_req_host() to origin_req_host. Patch by Wei-Cheng Pan
Diffstat (limited to 'Lib/http/cookiejar.py')
-rw-r--r--Lib/http/cookiejar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index 95f2f44..be828eb 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
@@ -704,7 +704,7 @@ def is_third_party(request):
"""
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