Fix Content-Type to allow '%' in json payload (issue #87)

This commit is contained in:
Vincent Jacques
2012-09-25 21:55:03 +02:00
parent 6ed11d0136
commit 7c60be9516
101 changed files with 130 additions and 134 deletions
+2
View File
@@ -88,6 +88,8 @@ class Requester:
url += "?" + o.query
headers = dict()
if input is not None:
headers["Content-Type"] = "application/json"
if self.__authorizationHeader is not None:
headers["Authorization"] = self.__authorizationHeader