Comparing version 1.8.12 to 1.8.13
@@ -60,3 +60,3 @@ /** | ||
type1options = _.extend({}, _.omit(httpreqOptions, 'headers', 'body'), type1options); | ||
if(httpreqOptions.headers) type1options.headers = _.extend(type1options.headers, _.omit(httpreqOptions.headers, 'Connection', 'Authorization')); | ||
// do not pass headers here, only in the last call, the headers can be consumed serverside | ||
@@ -97,2 +97,4 @@ // send type1 message to server: | ||
type3options = _.extend(type3options, _.omit(httpreqOptions, 'headers')); | ||
// pass all headers except Authorization & Connection as the NTLM protocol uses this: | ||
if(httpreqOptions.headers) type3options.headers = _.extend(type3options.headers, _.omit(httpreqOptions.headers, 'Connection', 'Authorization')); | ||
@@ -99,0 +101,0 @@ |
{ | ||
"name": "httpntlm", | ||
"description": "httpntlm is a Node.js library to do HTTP NTLM authentication", | ||
"version": "1.8.12", | ||
"version": "1.8.13", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "des.js": "^1.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55380
933