@@ -3250,9 +3250,9 @@ changes:
32503250 ` readableHighWaterMark ` and ` writableHighWaterMark ` . This affects
32513251 ` highWaterMark ` property of both ` IncomingMessage ` and ` ServerResponse ` .
32523252 ** Default:** See [ ` stream.getDefaultHighWaterMark() ` ] [ ] .
3253- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3254- invalid HTTP headers when ` true ` . Using the insecure parser should be
3255- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3253+ * ` insecureHTTPParser ` {boolean} If set to ` true ` , it will use a HTTP parser
3254+ with leniency flags enabled . Using the insecure parser should be avoided.
3255+ See [ ` --insecure-http-parser ` ] [ ] for more information.
32563256 ** Default:** ` false ` .
32573257 * ` IncomingMessage ` {http.IncomingMessage} Specifies the ` IncomingMessage `
32583258 class to be used. Useful for extending the original ` IncomingMessage ` .
@@ -3512,9 +3512,9 @@ changes:
35123512 request to. ** Default:** ` 'localhost' ` .
35133513 * ` hostname ` {string} Alias for ` host ` . To support [ ` url.parse() ` ] [ ] ,
35143514 ` hostname ` will be used if both ` host ` and ` hostname ` are specified.
3515- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3516- invalid HTTP headers when ` true ` . Using the insecure parser should be
3517- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3515+ * ` insecureHTTPParser ` {boolean} If set to ` true ` , it will use a HTTP parser
3516+ with leniency flags enabled . Using the insecure parser should be avoided.
3517+ See [ ` --insecure-http-parser ` ] [ ] for more information.
35183518 ** Default:** ` false `
35193519 * ` joinDuplicateHeaders ` {boolean} It joins the field line values of
35203520 multiple headers in a request with ` , ` instead of discarding
0 commit comments