Skip to content

Fix urllib3 2.0 compatibility#3117

Closed
pquentin wants to merge 1 commit intodocker:mainfrom
pquentin:urllib3-2.0-compatibility
Closed

Fix urllib3 2.0 compatibility#3117
pquentin wants to merge 1 commit intodocker:mainfrom
pquentin:urllib3-2.0-compatibility

Conversation

@pquentin
Copy link
Copy Markdown

@pquentin pquentin commented May 2, 2023

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.

See #3113 (comment) for details.

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`.

Signed-off-by: Quentin Pradet <quentin.pradet@gmail.com>
@pquentin
Copy link
Copy Markdown
Author

pquentin commented May 3, 2023

Closing in favor of #3116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant