From b4626afb610b1dc8ae48e4b87b7ec39d8ed7134e Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Sun, 8 Apr 2012 12:07:28 -0400 Subject: [PATCH] docs: url.format uses host for hostname and port, not auth Fixes #3062. --- doc/api/url.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/url.markdown b/doc/api/url.markdown index e6c4ce342d..7eb417dbdd 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.