Skip to content

Commit

Permalink
Add response.rawHeaders to docs for IncomingMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
MRayermannMSFT committed Nov 15, 2021
1 parent 639f442 commit bc60231
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api/incoming-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,11 @@ An `Integer` indicating the HTTP protocol major version number.
An `Integer` indicating the HTTP protocol minor version number.

[event-emitter]: https://nodejs.org/api/events.html#events_class_eventemitter

### `response.rawHeaders`

A `string[]` containing the raw HTTP response headers exactly as they were
received. The keys and values are in the same list. It is not a list of
tuples. So, the even-numbered offsets are key values, and the odd-numbered
offsets are the associated values. Header names are not lowercased, and
duplicates are not merged.

0 comments on commit bc60231

Please sign in to comment.