projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff29129
)
Connect to streaming API using HTTPS by default.
author
Joshua Roesslein
<jroesslein@gmail.com>
Thu, 20 Oct 2011 18:15:43 +0000
(13:15 -0500)
committer
Joshua Roesslein
<jroesslein@gmail.com>
Thu, 20 Oct 2011 18:15:43 +0000
(13:15 -0500)
https://dev.twitter.com/blog/streaming-api-turning-ssl-only-september-29th
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 213ccbaeb34b8a4e5a28527f1858dc020e3163a1..2e5c7e80675162d758e8463a3903b20a77d11111 100644
(file)
--- 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"