Commit 2dc3670c authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Connect to streaming API using HTTPS by default.

https://dev.twitter.com/blog/streaming-api-turning-ssl-only-september-29th
parent ff291299
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment