doc: fix options order
Move the `joinDuplicateHeaders` option to the correct alphabetical order. PR-URL: https://github.com/nodejs/node/pull/48617 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
parent
651c02cbbc
commit
1aabfa8732
@ -3255,6 +3255,10 @@ changes:
|
|||||||
* `IncomingMessage` {http.IncomingMessage} Specifies the `IncomingMessage`
|
* `IncomingMessage` {http.IncomingMessage} Specifies the `IncomingMessage`
|
||||||
class to be used. Useful for extending the original `IncomingMessage`.
|
class to be used. Useful for extending the original `IncomingMessage`.
|
||||||
**Default:** `IncomingMessage`.
|
**Default:** `IncomingMessage`.
|
||||||
|
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
|
||||||
|
headers in a request with `, ` instead of discarding the duplicates.
|
||||||
|
See [`message.headers`][] for more information.
|
||||||
|
**Default:** `false`.
|
||||||
* `keepAlive` {boolean} If set to `true`, it enables keep-alive functionality
|
* `keepAlive` {boolean} If set to `true`, it enables keep-alive functionality
|
||||||
on the socket immediately after a new incoming connection is received,
|
on the socket immediately after a new incoming connection is received,
|
||||||
similarly on what is done in \[`socket.setKeepAlive([enable][, initialDelay])`]\[`socket.setKeepAlive(enable, initialDelay)`].
|
similarly on what is done in \[`socket.setKeepAlive([enable][, initialDelay])`]\[`socket.setKeepAlive(enable, initialDelay)`].
|
||||||
@ -3282,10 +3286,6 @@ changes:
|
|||||||
a 400 (Bad Request) status code to any HTTP/1.1 request message
|
a 400 (Bad Request) status code to any HTTP/1.1 request message
|
||||||
that lacks a Host header (as mandated by the specification).
|
that lacks a Host header (as mandated by the specification).
|
||||||
**Default:** `true`.
|
**Default:** `true`.
|
||||||
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
|
|
||||||
headers in a request with `, ` instead of discarding the duplicates.
|
|
||||||
See [`message.headers`][] for more information.
|
|
||||||
**Default:** `false`.
|
|
||||||
* `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class
|
* `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class
|
||||||
to be used. Useful for extending the original `ServerResponse`. **Default:**
|
to be used. Useful for extending the original `ServerResponse`. **Default:**
|
||||||
`ServerResponse`.
|
`ServerResponse`.
|
||||||
@ -3513,6 +3513,10 @@ changes:
|
|||||||
invalid HTTP headers when `true`. Using the insecure parser should be
|
invalid HTTP headers when `true`. Using the insecure parser should be
|
||||||
avoided. See [`--insecure-http-parser`][] for more information.
|
avoided. See [`--insecure-http-parser`][] for more information.
|
||||||
**Default:** `false`
|
**Default:** `false`
|
||||||
|
* `joinDuplicateHeaders` {boolean} It joins the field line values of
|
||||||
|
multiple headers in a request with `, ` instead of discarding
|
||||||
|
the duplicates. See [`message.headers`][] for more information.
|
||||||
|
**Default:** `false`.
|
||||||
* `localAddress` {string} Local interface to bind for network connections.
|
* `localAddress` {string} Local interface to bind for network connections.
|
||||||
* `localPort` {number} Local port to connect from.
|
* `localPort` {number} Local port to connect from.
|
||||||
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
|
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
|
||||||
@ -3540,10 +3544,6 @@ changes:
|
|||||||
* `uniqueHeaders` {Array} A list of request headers that should be sent
|
* `uniqueHeaders` {Array} A list of request headers that should be sent
|
||||||
only once. If the header's value is an array, the items will be joined
|
only once. If the header's value is an array, the items will be joined
|
||||||
using `; `.
|
using `; `.
|
||||||
* `joinDuplicateHeaders` {boolean} It joins the field line values of
|
|
||||||
multiple headers in a request with `, ` instead of discarding
|
|
||||||
the duplicates. See [`message.headers`][] for more information.
|
|
||||||
**Default:** `false`.
|
|
||||||
* `callback` {Function}
|
* `callback` {Function}
|
||||||
* Returns: {http.ClientRequest}
|
* Returns: {http.ClientRequest}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user