@@ -3255,6 +3255,10 @@ changes:
3255
3255
* ` IncomingMessage ` {http.IncomingMessage} Specifies the ` IncomingMessage `
3256
3256
class to be used. Useful for extending the original ` IncomingMessage ` .
3257
3257
** 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 ` .
3258
3262
* ` keepAlive ` {boolean} If set to ` true ` , it enables keep-alive functionality
3259
3263
on the socket immediately after a new incoming connection is received,
3260
3264
similarly on what is done in \[ ` socket.setKeepAlive([enable][, initialDelay]) ` ] \[ ` socket.setKeepAlive(enable, initialDelay) ` ] .
@@ -3282,10 +3286,6 @@ changes:
3282
3286
a 400 (Bad Request) status code to any HTTP/1.1 request message
3283
3287
that lacks a Host header (as mandated by the specification).
3284
3288
** 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 ` .
3289
3289
* ` ServerResponse ` {http.ServerResponse} Specifies the ` ServerResponse ` class
3290
3290
to be used. Useful for extending the original ` ServerResponse ` . ** Default:**
3291
3291
` ServerResponse ` .
@@ -3513,6 +3513,10 @@ changes:
3513
3513
invalid HTTP headers when ` true ` . Using the insecure parser should be
3514
3514
avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3515
3515
** 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 ` .
3516
3520
* ` localAddress ` {string} Local interface to bind for network connections.
3517
3521
* ` localPort ` {number} Local port to connect from.
3518
3522
* ` lookup ` {Function} Custom lookup function. ** Default:** [ ` dns.lookup() ` ] [ ] .
@@ -3540,10 +3544,6 @@ changes:
3540
3544
* ` uniqueHeaders ` {Array} A list of request headers that should be sent
3541
3545
only once. If the header's value is an array, the items will be joined
3542
3546
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 ` .
3547
3547
* ` callback ` {Function}
3548
3548
* Returns: {http.ClientRequest}
3549
3549
0 commit comments