diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 1a6c686..2aa225f 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -403,7 +403,7 @@ class Client(object): # Actually construct the session session = requests.Session() - session.auth = requests.auth.HTTPBasicAuth(self.email, self.api_key) # type: ignore # https://github.com/python/typeshed/pull/1504 + session.auth = requests.auth.HTTPBasicAuth(self.email, self.api_key) session.verify = self.tls_verification # type: ignore # https://github.com/python/typeshed/pull/1504 session.cert = client_cert session.headers = {"User-agent": self.get_user_agent()}