From 26d9982c2312905fb4da2f5552878da87cdd7055 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 17 Nov 2026 16:14:35 +0100 Subject: [PATCH] lib: lib: move `_http_*` to `internal/http` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antoine du Hamel PR-URL: https://github.com/nodejs/node/pull/67546 Reviewed-By: Tim Perry Reviewed-By: Gürgün Dayıoğlu --- .github/CODEOWNERS | 1 + lib/{_http_agent.js => internal/http/agent.js} | 0 lib/{_http_client.js => internal/http/client.js} | 0 lib/{_http_common.js => internal/http/common.js} | 0 lib/{_http_incoming.js => internal/http/incoming.js} | 0 lib/{_http_outgoing.js => internal/http/outgoing.js} | 0 lib/{_http_server.js => internal/http/server.js} | 0 7 files changed, 1 insertion(+) rename lib/{_http_agent.js => internal/http/agent.js} (100%) rename lib/{_http_client.js => internal/http/client.js} (100%) rename lib/{_http_common.js => internal/http/common.js} (100%) rename lib/{_http_incoming.js => internal/http/incoming.js} (100%) rename lib/{_http_outgoing.js => internal/http/outgoing.js} (100%) rename lib/{_http_server.js => internal/http/server.js} (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2e8dac324f7..2a27e611350 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -73,6 +73,7 @@ /lib/https.js @nodejs/crypto @nodejs/net @nodejs/http /src/node_http_common* @nodejs/http @nodejs/http2 @nodejs/net /src/node_http_parser.cc @nodejs/http @nodejs/net +/lib/internal/http/* @nodejs/http @nodejs/net # http2 diff --git a/lib/_http_agent.js b/lib/internal/http/agent.js similarity index 100% rename from lib/_http_agent.js rename to lib/internal/http/agent.js diff --git a/lib/_http_client.js b/lib/internal/http/client.js similarity index 100% rename from lib/_http_client.js rename to lib/internal/http/client.js diff --git a/lib/_http_common.js b/lib/internal/http/common.js similarity index 100% rename from lib/_http_common.js rename to lib/internal/http/common.js diff --git a/lib/_http_incoming.js b/lib/internal/http/incoming.js similarity index 100% rename from lib/_http_incoming.js rename to lib/internal/http/incoming.js diff --git a/lib/_http_outgoing.js b/lib/internal/http/outgoing.js similarity index 100% rename from lib/_http_outgoing.js rename to lib/internal/http/outgoing.js diff --git a/lib/_http_server.js b/lib/internal/http/server.js similarity index 100% rename from lib/_http_server.js rename to lib/internal/http/server.js