Skip to content
Snippets Groups Projects
Commit dd0489fd authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] #59 fix unsupported Content-Type Header on gva prototype

parent a1a88ce3
No related branches found
No related tags found
No related merge requests found
Pipeline #10238 failed
...@@ -322,7 +322,7 @@ class API: ...@@ -322,7 +322,7 @@ class API:
elif _json is not None: elif _json is not None:
logging.debug("%s : %s, json=%s", method, url, _json) logging.debug("%s : %s, json=%s", method, url, _json)
# http header to send json body # http header to send json body
self.headers["Content-Type"] = "application/json; charset=utf-8" self.headers["Content-Type"] = "application/json"
else: else:
logging.debug("%s : %s", method, url) logging.debug("%s : %s", method, url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment