Merge pull request #7809 from shiftkey/typos-for-net-docs

fixed a couple of typos
This commit is contained in:
Zeke Sikelianos 2016-10-31 09:16:32 -07:00 committed by GitHub
commit 5968346c1e
2 changed files with 2 additions and 2 deletions

View file

@ -136,7 +136,7 @@ Emitted when an authenticating proxy is asking for user credentials.
The `callback` function is expected to be called back with user credentials:
* `usrename` String
* `username` String
* `password` String
```JavaScript

View file

@ -203,7 +203,7 @@ class ClientRequest extends EventEmitter {
urlRequest.on('login', (event, authInfo, callback) => {
this.emit('login', authInfo, (username, password) => {
// If null or undefined usrename/password, force to empty string.
// If null or undefined username/password, force to empty string.
if (username === null || username === undefined) {
username = ''
}