From b8e0c24c1daed6a50cae38359497f020f87c87ab Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Sun, 10 Apr 2022 10:08:56 +0200 Subject: [PATCH] doc: fix outgoingMessage.removeHeader() signature Specify that `outgoingMessage.removeHeader()` takes a `name` argument whose type is string. PR-URL: https://github.com/nodejs/node/pull/42652 Reviewed-By: Paolo Insogna Reviewed-By: Robert Nagy Reviewed-By: Matteo Collina Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Colin Ihrig Reviewed-By: Akhil Marsonya --- doc/api/http.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index d551b588c8f22e..708c6113bbbc4b 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2655,12 +2655,14 @@ it inherits from `Stream`. The User should not call this function directly. -### `outgoingMessage.removeHeader()` +### `outgoingMessage.removeHeader(name)` +* `name` {string} Header name + Removes a header that is queued for implicit sending. ```js