summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaurice Butler <maurice.butler@gmail.com>2015-05-21 14:00:16 +1000
committerRoman Reiss <me@silverwind.io>2015-05-22 14:58:32 +0200
commit515afc6367279f82f3ec3cc95b04d8cc0a5542b3 (patch)
treeaf21ea85b85d0f6babcd95cb48bf38e999c26570 /doc
parent80342f649d8df1f58c1e5ff222778749c1c539c1 (diff)
downloadnode-new-515afc6367279f82f3ec3cc95b04d8cc0a5542b3.tar.gz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/api/url.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/url.markdown b/doc/api/url.markdown
index 3931e8d08e..d2e9611e3c 100644
--- a/doc/api/url.markdown
+++ b/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).