#17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage

of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan
This commit is contained in:
Senthil Kumaran 2013-04-09 07:07:59 -07:00
parent d281c73536
commit d9fbf36bbd
2 changed files with 4 additions and 1 deletions

View file

@ -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