Skip to content

Commit bf38a51

Browse files
bkukerbkuker
authored and
bkuker
committed
fix: Request defaults not set when using Agent, issue #214.
1 parent d9a8d1f commit bf38a51

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)