Browse Source

doc: path is ignored in url.format

Made it obvious that path is ignored in url.format

PR-URL: https://github.com/nodejs/io.js/pull/1753
v2.3.1-release
Maurice Butler 10 years ago
committed by Roman Reiss
parent
commit
515afc6367
  1. 1
      doc/api/url.markdown

1
doc/api/url.markdown

@ -85,6 +85,7 @@ Take a parsed URL object, and return a formatted URL string.
Here's how the formatting process works:
* `href` will be ignored.
* `path` will be ignored.
* `protocol` is treated the same with or without the trailing `:` (colon).
* The protocols `http`, `https`, `ftp`, `gopher`, `file` will be
postfixed with `://` (colon-slash-slash).

Loading…
Cancel
Save