mirror of
https://github.com/github/codeql-action
synced 2026-05-25 15:00:36 +03:00
Switch from HEAD to GET requests
Not all registry implementations support `HEAD` correctly.
This commit is contained in:
Generated
+1
-1
@@ -122899,7 +122899,7 @@ var NetworkReachabilityBackend = class {
|
||||
url,
|
||||
{
|
||||
agent: this.agent,
|
||||
method: "HEAD",
|
||||
method: "GET",
|
||||
ca: this.proxy.cert,
|
||||
timeout: 5 * 1e3
|
||||
// 5 seconds
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user