Closed andreagrandi closed 6 months ago
In urllib3 the use of getheaders() method is deprecated:
getheaders()
DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.
Calls to self.urllib3_response.getheaders() should be replaced with self.urllib3_response.headers to fix this warning.
self.urllib3_response.getheaders()
self.urllib3_response.headers
This pull request fixes the usage of getheaders() by removing the usage of the deprecated method.
See the above description for the issue explaination.
None
All committers have signed the CLA.
Unfortunately, these are auto-generated files and these changes won't have an effect
In urllib3 the use of
getheaders()
method is deprecated:Calls to
self.urllib3_response.getheaders()
should be replaced withself.urllib3_response.headers
to fix this warning.This pull request fixes the usage of
getheaders()
by removing the usage of the deprecated method.Related Issue or Design Document
See the above description for the issue explaination.
Checklist
Further comments
None