From 11bb62d5c9146be8ae8d91bd5e0533ec232d46db Mon Sep 17 00:00:00 2001 From: Daiki Arai Date: Mon, 23 Apr 2018 09:07:00 +0900 Subject: [PATCH] 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. --- doc/api/http.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/api/http.md b/doc/api/http.md index d3e495ea3df5a3..54af6f0e4e3c7e 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -608,6 +608,12 @@ const setCookie = request.getHeader('set-cookie'); ``` +### request.maxHeadersCount + +* {number} **Default:** `2000` + +Limits maximum response headers count. If set to 0, no limit will be applied. + ### request.removeHeader(name)