Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZachary Scott <zachary@zacharyscott.net>2012-04-07 19:10:22 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-04-17 00:27:54 +0400
commit59e6b143951d524be2f1e3e4eaa4d777fbf1e8e1 (patch)
treeb1bdb9fd6a84818bef3314b921ae2899bf99a3e3 /doc
parent0f95a93a2c1928c4524521c52cc4c88d48612fe4 (diff)
docs: url.host doesn't include auth
Fixes #3062.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/url.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/url.markdown b/doc/api/url.markdown
index 0267661303c..e6c4ce342da 100644
--- a/doc/api/url.markdown
+++ b/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'`