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

Fixed missing version_string attribute when used with urllib3>=2.3.0 #1

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

exslim
Copy link
Owner

@exslim exslim commented Dec 23, 2024

urllib3 in v2.3.0 introduced attribute version_string (https://github.com/urllib3/urllib3/pull/3316/files). This attribute is missing in VCRHTTPResponse which causes errors like AttributeError: 'VCRHTTPResponse' object has no attribute 'version_string'

This fixes kevin1024#888

urllib3 in v2.3.0 introduced attribute `version_string` (https://github.com/urllib3/urllib3/pull/3316/files). This attribute  is missing in `VCRHTTPResponse` which causes errors like AttributeError: 'VCRHTTPResponse' object has no attribute 'version_string'

This fixes kevin1024#888
@exslim exslim merged commit e98c333 into master Dec 23, 2024
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.

missing request.version_string attribute with urllib3 == 2.3.0
1 participant