Browse Source

docs: url.host doesn't include auth

Fixes #3062.
v0.9.1-release
Zachary Scott 13 years ago
committed by Ben Noordhuis
parent
commit
59e6b14395
  1. 4
      doc/api/url.markdown

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. * `protocol`: The request protocol, lowercased.
Example: `'http:'` 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. * `auth`: The authentication information portion of a URL.
Example: `'user:pass'` Example: `'user:pass'`

Loading…
Cancel
Save