From 4df1fcc9dbe7034e5ffeea7a6c22d5b2f00d528c 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 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 | 83 +++++++++++++++++++ 7 files changed, 132 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 69bafb0a799768..50fe8a291f6724 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2413,6 +2413,13 @@ as an argument to any listeners on the event.