Skip to content

Commit a9a1394

Browse files
lpincaruyadorno
authored andcommittedSep 16, 2023
doc: fix options order
Move the `joinDuplicateHeaders` option to the correct alphabetical order. PR-URL: #48617 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 01746c7 commit a9a1394

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎doc/api/http.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -3217,6 +3217,10 @@ changes:
32173217
* `IncomingMessage` {http.IncomingMessage} Specifies the `IncomingMessage`
32183218
class to be used. Useful for extending the original `IncomingMessage`.
32193219
**Default:** `IncomingMessage`.
3220+
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
3221+
headers in a request with `, ` instead of discarding the duplicates.
3222+
See [`message.headers`][] for more information.
3223+
**Default:** `false`.
32203224
* `keepAlive` {boolean} If set to `true`, it enables keep-alive functionality
32213225
on the socket immediately after a new incoming connection is received,
32223226
similarly on what is done in \[`socket.setKeepAlive([enable][, initialDelay])`]\[`socket.setKeepAlive(enable, initialDelay)`].
@@ -3228,10 +3232,6 @@ changes:
32283232
the entire request from the client.
32293233
See [`server.requestTimeout`][] for more information.
32303234
**Default:** `300000`.
3231-
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
3232-
headers in a request with `, ` instead of discarding the duplicates.
3233-
See [`message.headers`][] for more information.
3234-
**Default:** `false`.
32353235
* `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class
32363236
to be used. Useful for extending the original `ServerResponse`. **Default:**
32373237
`ServerResponse`.
@@ -3454,6 +3454,10 @@ changes:
34543454
invalid HTTP headers when `true`. Using the insecure parser should be
34553455
avoided. See [`--insecure-http-parser`][] for more information.
34563456
**Default:** `false`
3457+
* `joinDuplicateHeaders` {boolean} It joins the field line values of
3458+
multiple headers in a request with `, ` instead of discarding
3459+
the duplicates. See [`message.headers`][] for more information.
3460+
**Default:** `false`.
34573461
* `localAddress` {string} Local interface to bind for network connections.
34583462
* `localPort` {number} Local port to connect from.
34593463
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
@@ -3481,10 +3485,6 @@ changes:
34813485
* `uniqueHeaders` {Array} A list of request headers that should be sent
34823486
only once. If the header's value is an array, the items will be joined
34833487
using `; `.
3484-
* `joinDuplicateHeaders` {boolean} It joins the field line values of
3485-
multiple headers in a request with `, ` instead of discarding
3486-
the duplicates. See [`message.headers`][] for more information.
3487-
**Default:** `false`.
34883488
* `callback` {Function}
34893489
* Returns: {http.ClientRequest}
34903490

0 commit comments

Comments
 (0)
Please sign in to comment.