node-quandl icon indicating copy to clipboard operation
node-quandl copied to clipboard

Expose response object

Open noinkling opened this issue 9 years ago • 0 comments

Currently there is no way to get at the response (http.IncomingMessage) object which holds information like the HTTP status, headers, etc. This PR exposes it by allowing a third param to be specified in the callback.

This means that order of the second and third arguments is reversed compared to the Request module, but I think backwards compatibility trumps consistency between the two modules in this case.

noinkling avatar Jun 02 '16 07:06 noinkling