doc: document "http: lazy create IncomingMessage.headers"

Refs: https://github.com/nodejs/node/pull/35281
Refs: https://github.com/nodejs/node/issues/36550

Co-authored-by: raisinten <raisinten@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/36601
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
ExE Bossandraisinten authored and Rich Trott committed 2020-12-25 06:40:53 -08:00
1 parent f441c8bb17
commit 88fb8e45ee
1 file changed
+6
+6
View File
@@ -1994,6 +1994,12 @@ as an argument to any listeners on the event.
### `message.headers`
<!-- YAML
added: v0.1.5
changes:
- version: v15.1.0
pr-url: https://github.com/nodejs/node/pull/35281
description: >-
`message.headers` is now lazily computed using an accessor property
on the prototype.
-->
* {Object}