mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Fix #216: handle 'Link' header
Headers with capitals are returned by http.client (replacing httplib in Python 3)
This commit is contained in:
@@ -1947,7 +1947,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
if secret is not github.GithubObject.NotSet:
|
||||
post_parameters["hub.secret"] = secret
|
||||
|
||||
responseHeaders, output = self._requester.requestMultipartAndCheck(
|
||||
headers, output = self._requester.requestMultipartAndCheck(
|
||||
"POST",
|
||||
"/hub",
|
||||
input=post_parameters
|
||||
|
||||
Reference in New Issue
Block a user