You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This endpoint may also support RFC7233 compliant range requests. Support can be detected by issuing a HEAD request. If the header Accept-Range: bytes is returned, range requests can be used to fetch partial content.
Therefore, oras-go should do normal request by default and attempt range request only if the server explicitly states it support range query in order to be compatible with most registries with best effort.
Known impacted registry provider:
jFrog Artifactory
The text was updated successfully, but these errors were encountered:
oras-go
always attemptsRange
header to seekable http client, which is aggressive.oras-go/registry/remote/repository.go
Lines 616 to 657 in 511e4d4
The Docker spec states that
Therefore,
oras-go
should do normal request by default and attempt range request only if the server explicitly states it support range query in order to be compatible with most registries with best effort.Known impacted registry provider:
The text was updated successfully, but these errors were encountered: