diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2019-04-25 15:50:29 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2019-04-25 15:50:29 +0200 |
commit | 6a89548fa719be679a9c9d21ebd9c9a09b230ed5 (patch) | |
tree | 701b791ed8fff1183b17489c692482ce4adb2ac6 | |
parent | 0a5a3569346c58af69a12a9c91656bdc8da1b7b4 (diff) | |
download | m2crypto-6a89548fa719be679a9c9d21ebd9c9a09b230ed5.tar.gz |
Fix use of urlunsplit
-rw-r--r-- | M2Crypto/httpslib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/M2Crypto/httpslib.py b/M2Crypto/httpslib.py index ec084b9..f624865 100644 --- a/M2Crypto/httpslib.py +++ b/M2Crypto/httpslib.py @@ -195,7 +195,7 @@ class ProxyHTTPSConnection(HTTPSConnection): self._real_host = host # type: str self._real_port = port # type: int - rest = urlunsplit((None, None, path, query, fragment)) + rest = urlunsplit(('', '', path, query, fragment)) HTTPSConnection.putrequest(self, method, rest, skip_host, skip_accept_encoding) |