Skip to content

Commit

Permalink
doc: path is ignored in url.format
Browse files Browse the repository at this point in the history
Made it obvious that path is ignored in url.format

PR-URL: nodejs#1753
  • Loading branch information
MauriceButler authored and silverwind committed May 22, 2015
1 parent 80342f6 commit 515afc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/url.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 515afc6

Please sign in to comment.