Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 658fbdc

Browse filesBrowse files
darai0512MylesBorins
authored andcommitted
doc: add http.ClientRequest maxHeadersCount
In http.ClientRequest's doc, add maxHeadersCount as a public property. And in the description of server's one, change a hyphen to a comma. PR-URL: #20361 Refs: #20359 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 289e4ce commit 658fbdc
Copy full SHA for 658fbdc

File tree

Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+7-1Lines changed: 7 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,12 @@ const setCookie = request.getHeader('set-cookie');
607607
// setCookie is of type string[]
608608
```
609609

610+
### request.maxHeadersCount
611+
612+
* {number} **Default:** `2000`
613+
614+
Limits maximum response headers count. If set to 0, no limit will be applied.
615+
610616
### request.removeHeader(name)
611617
<!-- YAML
612618
added: v1.6.0
@@ -933,7 +939,7 @@ added: v0.7.0
933939

934940
* {number} **Default:** `2000`
935941

936-
Limits maximum incoming headers count. If set to 0 - no limit will be applied.
942+
Limits maximum incoming headers count. If set to 0, no limit will be applied.
937943

938944
### server.setTimeout([msecs][, callback])
939945
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.