commit | bf0967537bdf189a8806fe05a2710e1011370956 | [log] [tgz] |
---|---|---|
author | くらげ <73342826+kurages@users.noreply.github.com> | Sun Jul 25 23:46:42 2021 +0900 |
committer | Jens Geyer <Jens-G@users.noreply.github.com> | Wed Jan 26 23:00:04 2022 +0100 |
tree | 916ad520d2d52334802a6a34c7c6975065c5e897 | |
parent | 5f16344311a57ac016190984dd1aaa44e19a6487 [diff] [blame] |
Fixed proxy related bugs
diff --git a/lib/py/src/transport/THttpClient.py b/lib/py/src/transport/THttpClient.py index 212da3a..b131690 100644 --- a/lib/py/src/transport/THttpClient.py +++ b/lib/py/src/transport/THttpClient.py
@@ -98,7 +98,7 @@ return None ap = "%s:%s" % (urllib.parse.unquote(proxy.username), urllib.parse.unquote(proxy.password)) - cr = base64.b64encode(ap).strip() + cr = base64.b64encode(ap.encode()).strip() return "Basic " + cr def using_proxy(self):