Skip to content

Commit

Permalink
Merge pull request #183 from AlgoTrader/patch-1
Browse files Browse the repository at this point in the history
Added lastResponseHeaders
  • Loading branch information
milewise committed Nov 20, 2013
2 parents 842be54 + c91e00a commit 396adcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Client.prototype._invoke = function(method, arguments, location, callback, optio

http.request(location, xml, function(err, response, body) {
self.lastResponse = body;
self.lastResponseHeaders = response.headers;
if (err) {
callback(err);
}
Expand Down

0 comments on commit 396adcb

Please sign in to comment.