mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Update ntlm-authentication.js (#1025)
This commit is contained in:
parent
d0e000e1f9
commit
9d06ca99d3
@ -13,8 +13,8 @@ var agent = new Agent({
|
|||||||
var proxy = httpProxy.createProxy({ target: 'http://whatever.com', agent: agent });
|
var proxy = httpProxy.createProxy({ target: 'http://whatever.com', agent: agent });
|
||||||
|
|
||||||
//
|
//
|
||||||
// Modify headers of the request before it gets sent
|
// Modify headers of the response before it gets sent
|
||||||
// So that we handle the NLTM authentication request
|
// So that we handle the NLTM authentication response
|
||||||
//
|
//
|
||||||
proxy.on('proxyRes', function (proxyRes) {
|
proxy.on('proxyRes', function (proxyRes) {
|
||||||
var key = 'www-authenticate';
|
var key = 'www-authenticate';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user