[DEV] add nan in json
This commit is contained in:
parent
5273830ed1
commit
f4d2b550a2
@ -170,7 +170,8 @@ class KaranageConnection(KaranageConnectionInterface):
|
||||
) -> KaranageResponse:
|
||||
headers = self.update_header(headers)
|
||||
url = self.get_url(service, url_offset)
|
||||
ret = requests.post(url, json=data, headers=headers, params=params)
|
||||
headers["Content-Type"] = "application/json"
|
||||
ret = requests.post(url, data=json.dumps(data), headers=headers, params=params)
|
||||
try:
|
||||
return KaranageResponse(url, ret.status_code, ret.content.decode("utf-8"))
|
||||
except requests.exceptions.ConnectionError as ex:
|
||||
|
@ -1 +1 @@
|
||||
0.7.2-dev
|
||||
0.7.3-dev
|
@ -1 +1 @@
|
||||
0.7.2-dev
|
||||
0.7.3-dev
|
Loading…
Reference in New Issue
Block a user