diff --git a/mixpanel/__init__.py b/mixpanel/__init__.py index d93a1cb..5d3d5ee 100644 --- a/mixpanel/__init__.py +++ b/mixpanel/__init__.py @@ -572,7 +572,7 @@ def __init__(self, events_url=None, people_url=None, import_url=None, ) self._session = requests.Session() - self._session.mount('http', adapter) + self._session.mount('https://', adapter) def send(self, endpoint, json_message, api_key=None, api_secret=None): """Immediately record an event or a profile update.