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) |
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.
mux-python/mux_python/rest.py
Line 47 in 70431a2