Skip to content

Commit 73f3338

Browse files
authored
Merge branch 'master' into master
2 parents 8710075 + 4a04159 commit 73f3338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

influxdb/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(self,
113113
self._port)
114114

115115
self._headers = {
116-
'Content-type': 'application/json',
116+
'Content-Type': 'application/json',
117117
'Accept': 'text/plain'
118118
}
119119

@@ -283,7 +283,7 @@ def write(self, data, params=None, expected_response_code=204,
283283
:rtype: bool
284284
"""
285285
headers = self._headers
286-
headers['Content-type'] = 'application/octet-stream'
286+
headers['Content-Type'] = 'application/octet-stream'
287287

288288
if params:
289289
precision = params.get('precision')

0 commit comments

Comments
 (0)