mirror of
https://github.com/python/cpython.git
synced 2025-11-13 23:46:24 +00:00
#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
This commit is contained in:
commit
7005b1f90a
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #17678: Remove the use of deprecated method in http/cookiejar.py.
|
||||||
|
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 #16475: Support object instancing, recursion and interned strings
|
- Issue #16475: Support object instancing, recursion and interned strings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue