tweepy/tweepy — pull request #148 by kurrik (2012-02-28 21:27:35+00:00)
Title: Adding support for gzip streams

Hi, stream.twitter.com now supports gzip compression which gives a big reduction in bandwidth. I've patched tweepy to request and consume a gzip stream if the Stream object is created with a gzip=True parameter:

```
auth = tweepy.auth.BasicAuthHandler(username, password)
api = tweepy.API(auth)
listen = Listener()
stream = tweepy.Stream(auth, listen, gzip=True)
stream.sample()
```