From f09b7df2606065cc71f75dc87221ec47baf49d5d Mon Sep 17 00:00:00 2001
From: Vincent Texier <vit@free.fr>
Date: Wed, 11 Nov 2020 00:08:31 +0100
Subject: [PATCH] [fix] #59 fix unsupported Content-Type Header on gva
 prototype

---
 duniterpy/api/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/duniterpy/api/client.py b/duniterpy/api/client.py
index a5fa7fa2..f527548a 100644
--- a/duniterpy/api/client.py
+++ b/duniterpy/api/client.py
@@ -322,7 +322,7 @@ class API:
         elif _json is not None:
             logging.debug("%s : %s, json=%s", method, url, _json)
             # http header to send json body
-            self.headers["Content-Type"] = "application/json; charset=utf-8"
+            self.headers["Content-Type"] = "application/json"
         else:
             logging.debug("%s : %s", method, url)
 
-- 
GitLab