From cd6f59edac5fa1a62edf374c9690c1cb245da402 Mon Sep 17 00:00:00 2001 From: Kei Ito Date: Tue, 29 Jan 2019 19:40:45 +0900 Subject: [PATCH 1/3] doc: add documentation for request.path The field has been added in v0.3.6. Refs: https://github.com/nodejs/node/commit/60aea96f84c850615bac7a6e00ef28fab5ae18ae#diff-1c0f1c434b17b7f8795d44a51a14320aR732 Refs: https://github.com/nodejs/node/blob/380929ec0c4c4004b522bed5e3800ebce2b68bfd/test/parallel/test-http-client-defaults.js --- doc/api/http.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/api/http.md b/doc/api/http.md index 592d2a1609dbb1..d21a6cf1a52444 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) -* {string} The request path. Read only. +* {string} The request path. Read-only. ### request.removeHeader(name) * {string} The request path. Read-only.