diff --git a/doc/api/http.md b/doc/api/http.md index 8e65caabf07..fefdd7fdb04 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -614,7 +614,7 @@ request was initiated via [`http.get()`][]. added: v1.6.0 --> -Flush the request headers. +Flushes the request headers. For efficiency reasons, Node.js normally buffers the request headers until `request.end()` is called or the first chunk of request data is written. It @@ -1185,6 +1185,13 @@ added: v0.0.2 The `response.finished` property will be `true` if [`response.end()`][] has been called. +### response.flushHeaders() + + +Flushes the response headers. See also: [`request.flushHeaders()`][]. + ### response.getHeader(name)