Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[networking] Rewrite architecture (#2861)
New networking interface consists of a `RequestDirector` that directs each `Request` to appropriate `RequestHandler` and returns the `Response` or raises `RequestError`. The handlers define adapters to transform its internal Request/Response/Errors to our interfaces. User-facing changes: - Fix issues with per request proxies on redirects for urllib - Support for `ALL_PROXY` environment variable for proxy setting - Support for `socks5h` proxy - Closes #6325, ytdl-org/youtube-dl#22618, ytdl-org/youtube-dl#28093 - Raise error when using `https` proxy instead of silently converting it to `http` Authored by: coletdjnz
- Loading branch information
227bf1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i believe this is the case with archlinux. ref
227bf1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's definitely the case for Fedora:
https://src.fedoraproject.org/rpms/python-certifi
TestNetworkingUtils.test_load_certifi broken for me.
227bf1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same test failure on arch