projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2266ddd
)
Remove Stream.headers
author
Harmon
<Harmon758@gmail.com>
Fri, 22 Jan 2021 23:32:39 +0000
(17:32 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 22 Jan 2021 23:32:39 +0000
(17:32 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 33e0454e5c85a182a161039584a2e3a2c45531dc..12a23a5973e39174ec811ebb1a3a4153c13b0826 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-144,7
+144,6
@@
class Stream:
self.verify = options.get("verify", True)
- self.headers = options.get("headers") or {}
self.new_session()
self.retry_time = self.retry_time_start
self.snooze_time = self.snooze_time_step
@@
-155,7
+154,6
@@
class Stream:
def new_session(self):
self.session = requests.Session()
- self.session.headers = self.headers
def _run(self, params=None, body=None):
# Authenticate