diff options
author | Rich Trott <rtrott@gmail.com> | 2021-07-10 20:33:54 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-07-13 01:21:36 +0300 |
commit | 5cccdccf883f1ffbb03398624bb51b7760f0bbdd (patch) | |
tree | 3649de6ec6ee2403a72279b57c430678ffe913e7 /doc/api/http.md | |
parent | 3fd04e789e569479de412b0c8a1265233bbb7115 (diff) |
doc: use consistent abbreviation formatting
Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/bits-bytes-terms
PR-URL: https://github.com/nodejs/node/pull/39343
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'doc/api/http.md')
-rw-r--r-- | doc/api/http.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 24a0a92f47e..84e98f5ff79 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2683,7 +2683,7 @@ changes: * `maxHeaderSize` {number} Optionally overrides the value of [`--max-http-header-size`][] for requests received by this server, i.e. the maximum length of request headers in bytes. - **Default:** 16384 (16KB). + **Default:** 16384 (16 KB). * `requestListener` {Function} * Returns: {http.Server} @@ -2793,7 +2793,8 @@ added: * {number} Read-only property specifying the maximum allowed size of HTTP headers in bytes. -Defaults to 8KB. Configurable using the [`--max-http-header-size`][] CLI option. +Defaults to 8 KB. Configurable using the [`--max-http-header-size`][] CLI +option. This can be overridden for servers and client requests by passing the `maxHeaderSize` option. @@ -2861,7 +2862,7 @@ changes: * `maxHeaderSize` {number} Optionally overrides the value of [`--max-http-header-size`][] for requests received from the server, i.e. the maximum length of response headers in bytes. - **Default:** 16384 (16KB). + **Default:** 16384 (16 KB). * `method` {string} A string specifying the HTTP request method. **Default:** `'GET'`. * `path` {string} Request path. Should include query string if any. |