forked from python-twitter-tools/twitter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not send gzip header for streaming calls
Twitter is moving all of its APIs towards HTTP1.1. https://dev.twitter.com/blog/deprecating-http-1.0-streaming-api Userstream passed already mid-november and has been borken for this lib since On Jan 6, Twitter will apply it as weel for all the other stream methods, meaning they probably would be all broken. The problem was in two pieces. First with this commit, we stop asking for gzip encoded data for streaming calls: for the HTPP1.0 calls, this was not taken into account anyway, but with HTTP1.1 the answer is now chunked and should therefore not caught zipped. (First part of fix for userstream and soon all streams cf python-twitter-tools#190 python-twitter-tools#116)
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters