Browse Source

doc: HTTP response getHeader doc fix

According to https://github.com/nodejs/node/issues/10803
getHeader need not be called only before it is flushed implicitly.

PR-URL: https://github.com/nodejs/node/pull/10817
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v6
Faiz Halde 8 years ago
committed by James M Snell
parent
commit
90a2bb53b0
  1. 5
      doc/api/http.md

5
doc/api/http.md

@ -907,9 +907,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:

Loading…
Cancel
Save