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>
This commit is contained in:
Faiz Halde
2017-01-15 18:16:53 +05:30
committed by James M Snell
parent 165bf2804c
commit 90a2bb53b0

View File

@@ -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: