From a99c90eb350ea795ff39bf59e9d006296dd4862e Mon Sep 17 00:00:00 2001 From: Milan Cermak Date: Tue, 10 Oct 2017 12:05:34 +0200 Subject: [PATCH] Fixes typo in Content-Type header --- influxdb/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/influxdb/client.py b/influxdb/client.py index 2b6dc689..a8adb915 100644 --- a/influxdb/client.py +++ b/influxdb/client.py @@ -113,7 +113,7 @@ def __init__(self, self._port) self._headers = { - 'Content-type': 'application/json', + 'Content-Type': 'application/json', 'Accept': 'text/plain' } @@ -283,7 +283,7 @@ def write(self, data, params=None, expected_response_code=204, :rtype: bool """ headers = self._headers - headers['Content-type'] = 'application/octet-stream' + headers['Content-Type'] = 'application/octet-stream' if params: precision = params.get('precision') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy