cpython/Lib/urllib
Barney Gale 0879ebc953
GH-123599: Match `file:` URL hostname against machine hostname in urllib (#132523)
In `_is_local_authority()`, return early if the authority matches the
machine hostname from `socket.gethostname()`, rather than resolving the
names and matching IP addresses.
2025-04-15 01:05:06 +01:00
..
__init__.py
error.py gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100) 2023-02-22 00:14:41 +09:00
parse.py gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed URLs (#129418) 2025-01-31 09:41:34 -08:00
request.py GH-123599: Match `file:` URL hostname against machine hostname in urllib (#132523) 2025-04-15 01:05:06 +01:00
response.py bpo-12707: deprecate info(), geturl(), getcode() methods in favor of headers, url, and status properties for HTTPResponse and addinfourl (GH-11447) 2019-09-13 12:40:07 +01:00
robotparser.py Explicitly import `urllib.error` in `urllib.robotparser` (#128737) 2025-01-13 17:14:59 +01:00