Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix urllib3 2.0 compatibility #3117

Closed
wants to merge 1 commit into from

Conversation

pquentin
Copy link

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

None yet

1 participant