Skip to content

Commit

Permalink
Fix for issue chaijs#214, request defaults not set when using Agent.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkuker authored Jun 29, 2018
1 parent d9a8d1f commit d712aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ methods.forEach(function(method){
// https://tools.ietf.org/html/rfc6454#section-3
req.withCredentials();
}

this._setDefaults(req);
return req;
};
});
Expand Down

0 comments on commit d712aa8

Please sign in to comment.