Comparing version 1.3.0 to 1.4.0
@@ -45,10 +45,13 @@ var async = require('async'); | ||
var type3msg = ntlm.createType3Message(type2msg, options); | ||
var headers = options.headers || {}; | ||
var body = options.body || ''; | ||
headers['Connection'] = 'Close'; | ||
headers['Authorization'] = type3msg; | ||
httpreq[method](options.url, { | ||
headers:{ | ||
'Connection' : 'Close', | ||
'Authorization': type3msg | ||
}, | ||
headers: headers, | ||
allowRedirects: false, | ||
agent: keepaliveAgent | ||
agent: keepaliveAgent, | ||
body: body | ||
}, $); | ||
@@ -55,0 +58,0 @@ } |
{ | ||
"name": "httpntlm", | ||
"description": "httpntlm is a Node.js library to do HTTP NTLM authentication", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"dependencies": { | ||
"httpreq": "~0.3.4", | ||
"httpreq": "~0.4.2", | ||
"async": "~0.2.9", | ||
@@ -17,3 +17,5 @@ "agentkeepalive": "~0.1.5" | ||
}, | ||
"engines": { "node": ">= 0.8.0" }, | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
}, | ||
"repository": { | ||
@@ -28,2 +30,6 @@ "type": "git", | ||
"url": "https://github.com/mariusGundersen" | ||
}, | ||
{ | ||
"name": "MajiD Fatemian", | ||
"url": "https://github.com/majidfn" | ||
} | ||
@@ -30,0 +36,0 @@ ], |
@@ -94,1 +94,24 @@ # httpntlm | ||
* [LM hash on Wikipedia](http://en.wikipedia.org/wiki/LM_hash) | ||
## License (MIT) | ||
Copyright (c) Sam Decrock <https://github.com/SamDecrock/> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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
21942
369
117
+ Addedhttpreq@0.4.24(transitive)
- Removedhttpreq@0.3.9(transitive)
Updatedhttpreq@~0.4.2