diff --git a/src/http.ts b/src/http.ts index ba5369815..f9968c162 100644 --- a/src/http.ts +++ b/src/http.ts @@ -193,7 +193,9 @@ export class HttpClient implements IHttpClient { password: exoptions.password, workstation: exoptions.workstation || '', domain: exoptions.domain || '', - }); + }, { httpAgent: exoptions.httpAgent, + httpsAgent: exoptions.httpsAgent + }); req = ntlmReq(options); } else { if (this.options.parseReponseAttachments) {