From 32c7ad6c67dec241daf30201db757d14a4cd9ff6 Mon Sep 17 00:00:00 2001 From: Kei Ito Date: Tue, 29 Jan 2019 19:40:45 +0900 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca --- doc/api/http.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/api/http.md b/doc/api/http.md index 592d2a1609d..7f0b39cbb1c 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 + + +* {string} The request path. Read-only. + ### request.removeHeader(name)