Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

docs: url.format uses host for hostname and port, not auth

Fixes #3062.
  • Loading branch information...
zzak authored and bnoordhuis committed Apr 8, 2012
1 parent 59e6b14 commit b4626afb610b1dc8ae48e4b87b7ec39d8ed7134e
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit b4626af

Please sign in to comment.
You can’t perform that action at this time.