Skip to content

Commit 11bb62d

Browse files
committed
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.
1 parent a1fc528 commit 11bb62d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/api/http.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,12 @@ const setCookie = request.getHeader('set-cookie');
608608

609609
```
610610

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

938944
* {number} **Default:** `2000`
939945

940-
Limits maximum incoming headers count. If set to 0 - no limit will be applied.
946+
Limits maximum incoming headers count. If set to 0, no limit will be applied.
941947

942948
### server.setTimeout([msecs][, callback])
943949
<!-- YAML

0 commit comments

Comments
 (0)