From a47092f1383bb974192663863ad3053a5cfaecbd 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 20bcd6eeda1d7e..5d04fabee79c46 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2641,12 +2641,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