From 63a0f4cdd3c8f0df4b81e96809fa48e3f959d2c9 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Tue, 25 Jun 2019 00:40:24 +0200 Subject: [PATCH] doc: clarify response.finished PR-URL: https://github.com/nodejs/node/pull/28411 Refs: https://github.com/jshttp/on-finished/issues/30 Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- doc/api/http.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 3b84b374df0..cc0c7ae1ce4 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1174,8 +1174,8 @@ added: v0.0.2 * {boolean} -Boolean value that indicates whether the response has completed. Starts -as `false`. After [`response.end()`][] executes, the value will be `true`. +The `response.finished` property will be `true` if [`response.end()`][] +has been called. ### response.getHeader(name)