Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support range downloads in the Remote Asset API #305

Open
harshita-gupta opened this issue Jul 19, 2024 · 1 comment
Open

Support range downloads in the Remote Asset API #305

harshita-gupta opened this issue Jul 19, 2024 · 1 comment

Comments

@harshita-gupta
Copy link

This issue is a follow-up to bazelbuild/bazel#22207, which has more context on the motivation and need for range downloads

I'm using https://github.com/chainguard-dev/rules_apko, which depends on range downloads. In bazel >7.1, this is achieved by setting the headers attr.

The remote download APIs currently don't support range downloads, so I can't use rules_apko in my bazel workspace.

@harshita-gupta harshita-gupta changed the title Support range headers in remote downloads Support range downloads in the Remote Asset API Jul 19, 2024
@sluongng
Copy link
Contributor

sluongng commented Aug 8, 2024

I recently looked at this and my understanding is that range request happens via http Headers, and Bazel is currently propagating these headers through a set of remote asset API qualifiers?

If that's the case, #301 could be relevant because the majority of the Remote Asset APIs don't support Bazel's custom qualifiers but don't report errors when these qualifiers are requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants