Skip to content

Commit

Permalink
Update ntlm-authentication.js (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchangming authored and jcrugzz committed Aug 11, 2016
1 parent d0e000e commit 9d06ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/http/ntlm-authentication.js
Expand Up @@ -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';
Expand Down

0 comments on commit 9d06ca9

Please sign in to comment.