Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d00c2e

Browse filesBrowse files
lpincaRafaelGSS
authored andcommitted
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 7d8a0b6 commit 6d00c2e
Copy full SHA for 6d00c2e

File tree

Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+8-8Lines changed: 8 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.