doc: reword message.headers to indicate they are not read-only

message.headers states that the headers are read-only, when in fact they
are not. This change rewords the docs to a more appropriate description,
while not promoting this kind of behavior.

Fixes: #3146
PR-URL: https://github.com/nodejs/node/pull/3814
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
pull/3814/merge
Tristian Flanagan 2015-11-13 10:01:34 -05:00 committed by James M Snell
parent 4008961a07
commit 934149a808
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ Just like `'end'`, this event occurs only once per response.
The request/response headers object.
Read only map of header names and values. Header names are lower-cased.
Key-value pairs of header names and values. Header names are lower-cased.
Example:
// Prints something like: