From d93a1df535c57a9ca3a506bde9703c15e0304f24 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Fri, 8 Apr 2022 08:43:01 +0200 Subject: [PATCH] doc: fix outgoingMessage.removeHeader() signature Specify that `outgoingMessage.removeHeader()` takes a `name` argument whose type is string. --- 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 86234e2fef8b66..16bbdc70e38c7d 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2644,12 +2644,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