Skip to content

Commit

Permalink
doc: add documentation for request.path
Browse files Browse the repository at this point in the history
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 <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
gjbkz authored and addaleax committed Feb 1, 2019
1 parent 998cea5 commit 7a1f166
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a1f166

Please sign in to comment.