Skip to content

Commit d712aa8

Browse files
authored
Fix for issue #214, request defaults not set when using Agent.
1 parent d9a8d1f commit d712aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ methods.forEach(function(method){
339339
// https://tools.ietf.org/html/rfc6454#section-3
340340
req.withCredentials();
341341
}
342-
342+
this._setDefaults(req);
343343
return req;
344344
};
345345
});

0 commit comments

Comments
 (0)