We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HTTPResponse.getheader()
1 parent a804c51 commit 1ec64b7Copy full SHA for 1ec64b7
CHANGELOG.md
@@ -1,5 +1,8 @@
1
## 1.38.0 [unreleased]
2
3
+### Bug Fixes
4
+1. [#601](https://github.com/influxdata/influxdb-client-python/pull/601): Use HTTResponse.headers to clear deprecation warning [urllib3]
5
+
6
### Documentation
7
1. [#566](https://github.com/influxdata/influxdb-client-python/pull/566): Fix Sphinx documentation build and add support `.readthedocs.yml` V2 configuration file
8
influxdb_client/_sync/rest.py
@@ -47,7 +47,7 @@ def getheaders(self):
47
48
def getheader(self, name, default=None):
49
"""Return a given response header."""
50
- return self.urllib3_response.getheader(name, default)
+ return self.urllib3_response.headers.get(name, default)
51
52
53
class RESTClientObject(object):
0 commit comments