Skip to content

Commit

Permalink
doc: HTTP response getHeader doc fix
Browse files Browse the repository at this point in the history
According to #10803
getHeader need not be called only before it is flushed implicitly.

PR-URL: #10817
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
fhalde authored and MylesBorins committed Mar 8, 2017
1 parent 2a36798 commit f6f3fa0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,8 @@ added: v0.4.0
* `name` {String}
* Returns: {String}

Reads out a header that's already been queued but not sent to the client. Note
that the name is case insensitive. This can only be called before headers get
implicitly flushed.
Reads out a header that's already been queued but not sent to the client.
Note that the name is case insensitive.

Example:

Expand Down

0 comments on commit f6f3fa0

Please sign in to comment.