Skip to content
Permalink
Browse files

Update ntlm-authentication.js (#1025)

  • Loading branch information...
wuchangming authored and jcrugzz committed Aug 11, 2016
1 parent d0e000e commit 9d06ca99d37495ffcdeafc63e1d19c78c93663e7
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/http/ntlm-authentication.js
@@ -13,8 +13,8 @@ var agent = new Agent({
var proxy = httpProxy.createProxy({ target: 'http://whatever.com', agent: agent });

//
// Modify headers of the request before it gets sent
// So that we handle the NLTM authentication request
// Modify headers of the response before it gets sent
// So that we handle the NLTM authentication response
//
proxy.on('proxyRes', function (proxyRes) {
var key = 'www-authenticate';

0 comments on commit 9d06ca9

Please sign in to comment.
You can’t perform that action at this time.