Skip to content

Commit

Permalink
doc: reword message.headers to indicate they are not read-only
Browse files Browse the repository at this point in the history
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: #3814
Reviewed-By: Roman Klauke <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
tflanagan authored and jasnell committed Dec 17, 2015
1 parent 6de77cd commit a36a5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a36a5b6

Please sign in to comment.