mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Remove the default "null" input send during GET request (#691)
* Remove the default "null" input send during GET request * Remove the 'null' value from all tests
This commit is contained in:
+1
-1
@@ -259,7 +259,7 @@ class Requester:
|
||||
url = self.__makeAbsoluteUrl(url)
|
||||
url = self.__addParametersToUrl(url, parameters)
|
||||
|
||||
encoded_input = "null"
|
||||
encoded_input = None
|
||||
if input is not None:
|
||||
requestHeaders["Content-Type"], encoded_input = encode(input)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user