Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: url.host doesn't include auth
Browse files Browse the repository at this point in the history
Fixes #3062.
  • Loading branch information
Zachary Scott authored and bnoordhuis committed Apr 16, 2012
1 parent 0f95a93 commit 59e6b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/url.markdown
Expand Up @@ -17,9 +17,9 @@ string will not be in the parsed object. Examples are shown for the URL
* `protocol`: The request protocol, lowercased.

Example: `'http:'`
* `host`: The full lowercased host portion of the URL, including port and authentication information.
* `host`: The full lowercased host portion of the URL, including the port.

Example: `'user:pass@host.com:8080'`
Example: `'host.com:8080'`
* `auth`: The authentication information portion of a URL.

Example: `'user:pass'`
Expand Down

0 comments on commit 59e6b14

Please sign in to comment.