projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cdf8cb
)
Fix streaming headers in filter()
author
Aaron Hill
<aa1ronham@gmail.com>
Tue, 6 May 2014 23:10:46 +0000
(19:10 -0400)
committer
Aaron Hill
<aa1ronham@gmail.com>
Tue, 6 May 2014 23:10:46 +0000
(19:10 -0400)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index dab8ec331471cd5b526687d4b22caa6c57d5d2d8..698e15a442e534711e29cfbf9832b582e551e22a 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-291,7
+291,7
@@
class Stream(object):
def filter(self, follow=None, track=None, async=False, locations=None,
stall_warnings=False, languages=None, encoding='utf8'):
self.session.params = {}
- self.headers['Content-type'] = "application/x-www-form-urlencoded"
+ self.
session.
headers['Content-type'] = "application/x-www-form-urlencoded"
if self.running:
raise TweepError('Stream object already connected!')
self.url = '/%s/statuses/filter.json' % STREAM_VERSION