Skip to content

Commit

Permalink
fix: Request defaults not set when using Agent, issue #214.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkuker authored and bkuker committed Jul 16, 2018
1 parent d9a8d1f commit bf38a51
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 bf38a51

Please sign in to comment.