summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKei Ito <kei.itof@gmail.com>2019-01-29 19:40:45 +0900
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-02-01 02:35:34 +0200
commit32c7ad6c67dec241daf30201db757d14a4cd9ff6 (patch)
treed93ff3ecb4d1d10bf5a5ba0f2eaf1b253a8fcf61 /doc
parente3c4b670a4c365c01dc4a3719c72bde734e0d6b4 (diff)
downloadandroid-node-v8-32c7ad6c67dec241daf30201db757d14a4cd9ff6.tar.gz
android-node-v8-32c7ad6c67dec241daf30201db757d14a4cd9ff6.tar.bz2
android-node-v8-32c7ad6c67dec241daf30201db757d14a4cd9ff6.zip
doc: add documentation for request.path
The field has been added in v0.4.0. PR-URL: https://github.com/nodejs/node/pull/25788 Refs: https://github.com/nodejs/node/commit/b09c5889bee8388a6710ecf75d76ca242e0684bd#diff-1c0f1c434b17b7f8795d44a51a14320aR814 Refs: https://github.com/nodejs/node/blob/380929ec0c4c4004b522bed5e3800ebce2b68bfd/test/parallel/test-http-client-defaults.js Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 592d2a1609..7f0b39cbb1 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -633,6 +633,13 @@ const cookie = request.getHeader('Cookie');
Limits maximum response headers count. If set to 0, no limit will be applied.
+### request.path
+<!-- YAML
+added: v0.4.0
+-->
+
+* {string} The request path. Read-only.
+
### request.removeHeader(name)
<!-- YAML
added: v1.6.0