Node's internal Response object. Useful for proper mocking.
Located here: https://github.com/joyent/node/blob/master/lib/_http_outgoing.js
npm install http-outgoing
var Response = require('http-outgoing').OutgoingMessage;
var res = new Response();
Node's internal Response object. Useful for proper mocking.
Located here: https://github.com/joyent/node/blob/master/lib/_http_outgoing.js
npm install http-outgoing
var Response = require('http-outgoing').OutgoingMessage;
var res = new Response();