Skip to content

Commit fedcde4

Browse files
committed
pass rejectUnauthorized
1 parent f26d9ea commit fedcde4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,9 @@ var Client = module.exports = function(config) {
736736
headers: headers
737737
};
738738

739+
if (this.config.rejectUnauthorized !== undefined)
740+
options.rejectUnauthorized = this.config.rejectUnauthorized;
741+
739742
if (this.debug)
740743
console.log("REQUEST: ", options);
741744

0 commit comments

Comments
 (0)