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

DeprecationWarning: HTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.1.0. #83

Open
snijbell opened this issue Sep 4, 2024 · 0 comments

Comments

@snijbell
Copy link

snijbell commented Sep 4, 2024

Getting the following warning:

DeprecationWarning: HTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default). return self.urllib3_response.getheader(name, default)

A previous issue #71 covered the case of all headers, but the single header case also needs a change.

return self.urllib3_response.getheader(name, default)

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

No branches or pull requests

1 participant