diff options
Diffstat (limited to 'internal/httprange/resource.go')
-rw-r--r-- | internal/httprange/resource.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/httprange/resource.go b/internal/httprange/resource.go index 1da1af95..f90e6f5f 100644 --- a/internal/httprange/resource.go +++ b/internal/httprange/resource.go @@ -78,7 +78,6 @@ func NewResource(ctx context.Context, url string, httpClient *http.Client) (*Res // we fetch a single byte and ensure that range requests is additionally supported req.Header.Set("Range", fmt.Sprintf("bytes=%d-%d", 0, 0)) - // nolint: bodyclose // body will be closed by discardAndClose res, err := httpClient.Do(req) if err != nil { |