mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Fix Content-Type to allow '%' in json payload (issue #87)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user