Skip to content

Commit

Permalink
http
Browse files Browse the repository at this point in the history
include the option to use cookies
  • Loading branch information
jdaguilar75 committed Aug 17, 2020
1 parent 1a3bf30 commit bc294ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/http.js
Expand Up @@ -155,6 +155,11 @@ class HttpClient {
var headers = options.headers;
var req;

// check if there is a cookie jar in options
if (this.options.jar) {
options.jar = this.options.jar;
}

//typically clint.js would do addOptions() if security is set in order to get all security options added to options{}. But client.js
//addOptions() code runs after this code is trying to contact server to load remote WSDL, hence we have NTLM authentication
//object passed in as option to createClient() call for now. Revisit.
Expand Down

0 comments on commit bc294ef

Please sign in to comment.