|
@@ -2232,7 +2232,9 @@ class Urllib3HttpGitClient(AbstractHttpGitClient):
|
|
resp.redirect_location = resp.get_redirect_location()
|
|
resp.redirect_location = resp.get_redirect_location()
|
|
else:
|
|
else:
|
|
resp.redirect_location = resp_url if resp_url != url else ""
|
|
resp.redirect_location = resp_url if resp_url != url else ""
|
|
- return resp, resp.read
|
|
+
|
|
|
|
+
|
|
|
|
+ return resp, BytesIO(resp.data).read
|
|
|
|
|
|
|
|
|
|
HttpGitClient = Urllib3HttpGitClient
|
|
HttpGitClient = Urllib3HttpGitClient
|