Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inherit HTTPConnection through urllib3.connection, not httplib
By inheriting from `urllib3.connection.HTTPConnection` (that inherits from `httplib.HTTPConnection` itself), we can adapt to the internal changes in urllib3 2.0 that added a `request()` method that is incompatible with httplib.HTTPConnection.request. This fixes the incompatibility between urllib3 2.0 and requests 1.26+, which was the first version that stopped vendoring urllib3. Reference: docker/docker-py#3113 (comment)
- Loading branch information