From 3c047b391910768c3e43e1eeea58a564663c2228 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 53cd9d3bb8aa03..999cb4da4c2b73 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1172,8 +1172,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)