AvianFlu/ntwitter — pull request #29 by horixon (2012-02-09 00:41:40+00:00)
Title: stream emit error with http status greater than 200

I needed to create a simple persistent process that always reconnects [https://gist.github.com/ed8e0a12da57713e61a6]. I followed concepts at [https://dev.twitter.com/docs/streaming-api/concepts] and needed to know explicitly when there was http error. I made a few slight changes in the stream method. Feel free to include or re-factor.