@@ -3318,6 +3318,22 @@ Type: Runtime
3318
3318
might result in host name spoofing with unexpected input. These URLs will throw
3319
3319
an error in future versions of Node.js, as the [ WHATWG URL API] [ ] does already.
3320
3320
3321
+ ### DEP0171: Setters for ` http.IncomingMessage ` headers and trailiers
3322
+
3323
+ <!-- YAML
3324
+ changes:
3325
+ - version:
3326
+ - REPLACEME
3327
+ pr-url: https://github.com/nodejs/node/pull/45695
3328
+ description: Documentation-only deprecation.
3329
+ -->
3330
+
3331
+ Type: Documentation-only
3332
+
3333
+ In a future version of Node.js, [ ` message.headers ` ] [ ] ,
3334
+ [ ` message.headersDistinct ` ] [ ] , [ ` message.trailers ` ] [ ] , and
3335
+ [ ` message.trailersDistinct ` ] [ ] will be read-only.
3336
+
3321
3337
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3322
3338
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3323
3339
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3394,7 +3410,11 @@ an error in future versions of Node.js, as the [WHATWG URL API][] does already.
3394
3410
[ `https.get()` ] : https.md#httpsgetoptions-callback
3395
3411
[ `https.request()` ] : https.md#httpsrequestoptions-callback
3396
3412
[ `message.connection` ] : http.md#messageconnection
3413
+ [ `message.headersDistinct` ] : http.md#messageheadersdistinct
3414
+ [ `message.headers` ] : http.md#messageheaders
3397
3415
[ `message.socket` ] : http.md#messagesocket
3416
+ [ `message.trailersDistinct` ] : http.md#messagetrailersdistinct
3417
+ [ `message.trailers` ] : http.md#messagetrailers
3398
3418
[ `module.createRequire()` ] : module.md#modulecreaterequirefilename
3399
3419
[ `os.networkInterfaces()` ] : os.md#osnetworkinterfaces
3400
3420
[ `os.tmpdir()` ] : os.md#ostmpdir
0 commit comments