diff options
Diffstat (limited to 'internal/pkg/net.go')
| -rw-r--r-- | internal/pkg/net.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/pkg/net.go b/internal/pkg/net.go index 412dd2a7..cd30e3bb 100644 --- a/internal/pkg/net.go +++ b/internal/pkg/net.go @@ -74,6 +74,9 @@ func (e ResponseStatusError) Error() string { return "the requested URL returned non-OK status: " + http.StatusText(int(e)) } +// IsExecutable returns false. +func (*httpArtifact) IsExecutable() bool { return false } + // Cure sends the http request and returns the resulting response body reader // wrapped to perform checksum validation. It is valid but not encouraged to // close the resulting [io.ReadCloser] before it is read to EOF, as that causes |
