Skip to content

Commit 7a1f166

Browse files
gjbkzaddaleax
authored andcommitted
doc: add documentation for request.path
The field has been added in v0.4.0. PR-URL: #25788 Refs: b09c588#diff-1c0f1c434b17b7f8795d44a51a14320aR814 Refs: https://github.com/nodejs/node/blob/380929ec0c4c4004b522bed5e3800ebce2b68bfd/test/parallel/test-http-client-defaults.js Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 998cea5 commit 7a1f166

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/api/http.md

+7
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,13 @@ const cookie = request.getHeader('Cookie');
633633

634634
Limits maximum response headers count. If set to 0, no limit will be applied.
635635

636+
### request.path
637+
<!-- YAML
638+
added: v0.4.0
639+
-->
640+
641+
* {string} The request path. Read-only.
642+
636643
### request.removeHeader(name)
637644
<!-- YAML
638645
added: v1.6.0

0 commit comments

Comments
 (0)