From 77c2eddba8220029133d4267c3c5dbd06b4dc922 Mon Sep 17 00:00:00 2001 From: Faiz Halde Date: Sun, 15 Jan 2017 18:16:53 +0530 Subject: [PATCH] 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. --- doc/api/http.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index fb90123330458c..ea23dad33a8bd8 100644 --- a/doc/api/http.md +++ b/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: