Permalink
Browse files

docs: url.host doesn't include auth

Fixes #3062.
  • Loading branch information...
1 parent 0f95a93 commit 59e6b143951d524be2f1e3e4eaa4d777fbf1e8e1 @zzak zzak committed with bnoordhuis Apr 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/url.markdown
View
4 doc/api/url.markdown
@@ -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'`

0 comments on commit 59e6b14

Please sign in to comment.