Skip to content

Commit

Permalink
Merge pull request #76 from dotnil/patch-1
Browse files Browse the repository at this point in the history
Fix a typo in comment
  • Loading branch information
dead-horse committed Aug 18, 2015
2 parents d130e33 + d42d5c3 commit 16e5555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/urllib.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ exports.requestWithCallback = function (url, args, callback) {
&& (!args.headers || !args.headers.Authorization) && args.digestAuth) {
var authenticate = headers['www-authenticate'];
if (authenticate.indexOf('Digest ') >= 0) {
debug('Request#%d %s: got degist auth header WWW-Authenticate: %s', reqId, url, authenticate);
debug('Request#%d %s: got digest auth header WWW-Authenticate: %s', reqId, url, authenticate);
args.headers = args.headers || {};
args.headers.Authorization = digestAuthHeader(options.method, options.path, authenticate, args.digestAuth);
debug('Request#%d %s: auth with digest header: %s', reqId, url, args.headers.Authorization);
Expand Down

0 comments on commit 16e5555

Please sign in to comment.