diff options
author | Zachary Scott <zachary@zacharyscott.net> | 2012-04-08 20:07:28 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-17 00:28:02 +0400 |
commit | b4626afb610b1dc8ae48e4b87b7ec39d8ed7134e (patch) | |
tree | 6a68a40c8fa24c9dfdba6090a772b835799b919d /doc | |
parent | 59e6b143951d524be2f1e3e4eaa4d777fbf1e8e1 (diff) |
docs: url.format uses host for hostname and port, not auth
Fixes #3062.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/url.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/url.markdown b/doc/api/url.markdown index e6c4ce342da..7eb417dbddd 100644 --- a/doc/api/url.markdown +++ b/doc/api/url.markdown @@ -70,7 +70,7 @@ Take a parsed URL object, and return a formatted URL string. * `auth` will only be used if `host` is absent. * `hostname` will only be used if `host` is absent. * `port` will only be used if `host` is absent. -* `host` will be used in place of `auth`, `hostname`, and `port` +* `host` will be used in place of `hostname` and `port` * `pathname` is treated the same with or without the leading `/` (slash) * `search` will be used in place of `query` * `query` (object; see `querystring`) will only be used if `search` is absent. |