ro-ka/node-500px — pull request #1 by motiooon (2012-04-20 14:02:01+00:00)
Title: Request.js resultData treated as stream

I've treated the resultData as a stream so it adds up and fires the callback on end , when there's no more data arriving in the stream.
JSON parse was throwing an error if the data was a chunk that was not a valid JSON.