Skip to content

Commit 5645b21

Browse files
ExE-Bossdanielleadams
authored andcommitted
doc: document "http: lazy create IncomingMessage.headers"
Refs: #35281 Refs: #36550 Co-authored-by: raisinten <raisinten@gmail.com> PR-URL: #36601 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 3ee4cfc commit 5645b21

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/http.md

+6
Original file line numberDiff line numberDiff line change
@@ -1980,6 +1980,12 @@ as an argument to any listeners on the event.
19801980
### `message.headers`
19811981
<!-- YAML
19821982
added: v0.1.5
1983+
changes:
1984+
- version: v15.1.0
1985+
pr-url: https://github.com/nodejs/node/pull/35281
1986+
description: >-
1987+
`message.headers` is now lazily computed using an accessor property
1988+
on the prototype.
19831989
-->
19841990

19851991
* {Object}

0 commit comments

Comments
 (0)