Skip to content

Commit ff02f2f

Browse files
lpincaCeres6
authored andcommitted
doc: fix options order
Move the `joinDuplicateHeaders` option to the correct alphabetical order. PR-URL: nodejs#48617 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent ba1cf4b commit ff02f2f

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
@@ -3255,6 +3255,10 @@ changes:
32553255
* `IncomingMessage` {http.IncomingMessage} Specifies the `IncomingMessage`
32563256
class to be used. Useful for extending the original `IncomingMessage`.
32573257
**Default:** `IncomingMessage`.
3258+
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
3259+
headers in a request with `, ` instead of discarding the duplicates.
3260+
See [`message.headers`][] for more information.
3261+
**Default:** `false`.
32583262
* `keepAlive` {boolean} If set to `true`, it enables keep-alive functionality
32593263
on the socket immediately after a new incoming connection is received,
32603264
similarly on what is done in \[`socket.setKeepAlive([enable][, initialDelay])`]\[`socket.setKeepAlive(enable, initialDelay)`].
@@ -3282,10 +3286,6 @@ changes:
32823286
a 400 (Bad Request) status code to any HTTP/1.1 request message
32833287
that lacks a Host header (as mandated by the specification).
32843288
**Default:** `true`.
3285-
* `joinDuplicateHeaders` {boolean} It joins the field line values of multiple
3286-
headers in a request with `, ` instead of discarding the duplicates.
3287-
See [`message.headers`][] for more information.
3288-
**Default:** `false`.
32893289
* `ServerResponse` {http.ServerResponse} Specifies the `ServerResponse` class
32903290
to be used. Useful for extending the original `ServerResponse`. **Default:**
32913291
`ServerResponse`.
@@ -3513,6 +3513,10 @@ changes:
35133513
invalid HTTP headers when `true`. Using the insecure parser should be
35143514
avoided. See [`--insecure-http-parser`][] for more information.
35153515
**Default:** `false`
3516+
* `joinDuplicateHeaders` {boolean} It joins the field line values of
3517+
multiple headers in a request with `, ` instead of discarding
3518+
the duplicates. See [`message.headers`][] for more information.
3519+
**Default:** `false`.
35163520
* `localAddress` {string} Local interface to bind for network connections.
35173521
* `localPort` {number} Local port to connect from.
35183522
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
@@ -3540,10 +3544,6 @@ changes:
35403544
* `uniqueHeaders` {Array} A list of request headers that should be sent
35413545
only once. If the header's value is an array, the items will be joined
35423546
using `; `.
3543-
* `joinDuplicateHeaders` {boolean} It joins the field line values of
3544-
multiple headers in a request with `, ` instead of discarding
3545-
the duplicates. See [`message.headers`][] for more information.
3546-
**Default:** `false`.
35473547
* `callback` {Function}
35483548
* Returns: {http.ClientRequest}
35493549

0 commit comments

Comments
 (0)