From 4080bada1a094b57ea093ac4d063c5b7f9f0053e 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 | 3 +- ...http-request-join-authorization-headers.js | 83 +++++++++++++++++++ 7 files changed, 133 insertions(+), 2 deletions(-) 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 a03ea084f05..553d611f846 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2426,6 +2426,13 @@ as an argument to any listeners on the event.