Skip to content

Commit

Permalink
doc: reword message.headers
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.

Issue: nodejs#3146
  • Loading branch information
tflanagan committed Nov 13, 2015
1 parent d9734b7 commit 7d2b47b
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 7d2b47b

Please sign in to comment.