Commit d9fbf36b authored by Senthil Kumaran's avatar Senthil Kumaran

#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
parent d281c735
...@@ -704,7 +704,7 @@ def is_third_party(request): ...@@ -704,7 +704,7 @@ def is_third_party(request):
""" """
req_host = request_host(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 return True
else: else:
return False return False
......
...@@ -21,6 +21,9 @@ Core and Builtins ...@@ -21,6 +21,9 @@ Core and Builtins
Library Library
------- -------
- Issue #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the
usage of get_origin_req_host() to origin_req_host.
- Issue #17666: Fix reading gzip files with an extra field. - Issue #17666: Fix reading gzip files with an extra field.
- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator. - Issue #17502: Process DEFAULT values in mock side_effect that returns iterator.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment