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/node#1753
  • Loading branch information
MauriceButler authored and andrewdeandrade committed Jun 3, 2015
1 parent b469ba7 commit 92b288a
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 92b288a

Please sign in to comment.