mapbox/node-get — pull request #17 by yhahn (2014-11-25 12:09:58+00:00)
Title: Content length

Check content length of response body and consider non-matching lengths an error. Test with a server that closes connection prematurely confirms upstream node behavior of "end", not "error" event in these cases.

cc @springmeyer