mux-python icon indicating copy to clipboard operation
mux-python copied to clipboard

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

Open snijbell opened this issue 1 year ago • 0 comments

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.

https://github.com/muxinc/mux-python/blob/70431a246e55d2db80e5f0a701f7fb0f737d6554/mux_python/rest.py#L47

snijbell avatar Sep 04 '24 16:09 snijbell