Switch from HEAD to GET requests

Not all registry implementations support `HEAD` correctly.
This commit is contained in:
Michael B. Gale
2026-04-28 10:42:27 +01:00
parent 19b3a84f58
commit 6153577cab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122899,7 +122899,7 @@ var NetworkReachabilityBackend = class {
url,
{
agent: this.agent,
method: "HEAD",
method: "GET",
ca: this.proxy.cert,
timeout: 5 * 1e3
// 5 seconds
+1 -1
View File
@@ -41,7 +41,7 @@ class NetworkReachabilityBackend implements ReachabilityBackend {
url,
{
agent: this.agent,
method: "HEAD",
method: "GET",
ca: this.proxy.cert,
timeout: 5 * 1000, // 5 seconds
},