From 069a30bc4ecfd606f5e565030ec3e88a34b2d5dc Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Tue, 3 Jan 2023 11:43:21 +0100 Subject: [PATCH] http: join authorization headers PR-URL: https://github.com/nodejs/node/pull/45982 Backport-PR-URL: https://github.com/nodejs/node/pull/46240 Fixes: https://github.com/nodejs/node/issues/45699 Reviewed-By: Matteo Collina Reviewed-By: Yagiz Nizipli Reviewed-By: Paolo Insogna --- doc/api/http.md | 20 +++++ lib/_http_client.js | 9 +++ lib/_http_common.js | 2 + lib/_http_incoming.js | 12 ++- lib/_http_server.js | 6 ++ lib/http.js | 1 + ...http-request-join-authorization-headers.js | 80 +++++++++++++++++++ 7 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 test/parallel/test-http-request-join-authorization-headers.js diff --git a/doc/api/http.md b/doc/api/http.md index 21cde8f5940d57..bf89f618e05359 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2426,6 +2426,13 @@ as an argument to any listeners on the event.