flatiron/nock — pull request #48 by fent (2012-03-08 01:12:55+00:00)
Title: response instance of http.IncomingMessage

This make the `response` object returned on request responses be an instance of `http.IncomingMessage`

https://github.com/joyent/node/blob/master/lib/http.js#L247
https://github.com/joyent/node/blob/v0.4.12/lib/http.js#L209

The `request` object is already an instance of `http.ClientRequest`, why shouldn't it be the same for `response`?

Also, some programs check if a given stream like object is actually an instance of a stream. With this patch that is true, and there is no need to keep a version of the stream pipe method in its own file.