Fix #216: handle 'Link' header

Headers with capitals are returned by http.client (replacing httplib in Python 3)
This commit is contained in:
Vincent Jacques
2013-12-23 19:25:11 -08:00
parent 66edeb601f
commit 6767e75c52
7 changed files with 217 additions and 6 deletions
+1 -1
View File
@@ -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