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 Nov 13, 2015
1 parent 4008961 commit 934149a
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 934149a

Please sign in to comment.