Handle streaming api respose


#1

I had build a c++ application which was working fine until recently…
A simple app which connects to stream.twitter.com, at /1.1/statuses/filter.json and follow some users tweets.

The problem now is that the response I get is gzipped.
I know that I can just remove “Accept-Encoding: gzip, deflate” in my post headers, but is there an example to handle gzipped content?
The response I get is the headers and then the gzipped content (?)
for example:
HTTP/1.1 200 OK^M
Content-Type: application/json^M
Transfer-Encoding: chunked^M
Content-Encoding: gzip^M
^M
…(continues with binary content)