From: Joshua Roesslein Date: Thu, 20 Oct 2011 18:15:43 +0000 (-0500) Subject: Connect to streaming API using HTTPS by default. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2dc3670c44e53632da05d9a57afc94401f216f99;p=tweepy.git Connect to streaming API using HTTPS by default. https://dev.twitter.com/blog/streaming-api-turning-ssl-only-september-29th --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 213ccba..2e5c7e8 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -76,7 +76,7 @@ class Stream(object): self.retry_time = options.get("retry_time", 10.0) self.snooze_time = options.get("snooze_time", 5.0) self.buffer_size = options.get("buffer_size", 1500) - if options.get("secure"): + if options.get("secure", True): self.scheme = "https" else: self.scheme = "http"