cpython/Lib/http
Victor Stinner f0b234e6ed
gh-94172: urllib.request avoids deprecated check_hostname (#94193)
The urllib.request no longer uses the deprecated check_hostname
parameter of the http.client module.

Add private http.client._create_https_context() helper to http.client,
used by urllib.request.

Remove the now redundant check on check_hostname and verify_mode in
http.client: the SSLContext.check_hostname setter already implements
the check.
2022-06-24 17:45:28 +02:00
..
__init__.py gh-91996: Add an HTTPMethod StrEnum to http (GH-91997) 2022-05-05 15:39:02 -07:00
client.py gh-94172: urllib.request avoids deprecated check_hostname (#94193) 2022-06-24 17:45:28 +02:00
cookiejar.py gh-79096: Protect cookie file created by {LWP,Mozilla}CookieJar.save() (GH-93463) 2022-06-07 10:11:03 +02:00
cookies.py bpo-39481: PEP 585 for a variety of modules (GH-19423) 2020-04-10 07:46:36 -07:00
server.py gh-91219: Add an index_pages default list and parameter to SimpleHTTPRequestHandler (GH-31985) 2022-06-23 13:30:44 -07:00