Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d281c73 commit d9fbf36Copy full SHA for d9fbf36
2 files changed
Lib/http/cookiejar.py
@@ -704,7 +704,7 @@ def is_third_party(request):
704
705
"""
706
req_host = request_host(request)
707
- if not domain_match(req_host, reach(request.get_origin_req_host())):
+ if not domain_match(req_host, reach(request.origin_req_host)):
708
return True
709
else:
710
return False
Misc/NEWS
@@ -21,6 +21,9 @@ Core and Builtins
21
Library
22
-------
23
24
+- Issue #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the
25
+ usage of get_origin_req_host() to origin_req_host.
26
+
27
- Issue #17666: Fix reading gzip files with an extra field.
28
29
- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator.
0 commit comments