Switch to Accept: application/json
when downloading crates
#6639
Labels
A-interacts-with-crates.io
Area: interaction with registries
A-registries
Area: registries
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Currently we fetch a url on crates.io which redirects us to S3, but crates.io has a feature where if you specify
Accept: application/json
we'll get a JSON blob with the url instead. We should switch Cargo to this interface so we can learn auxiliary information in the future if necessary, and we still know how to get the final crate!The text was updated successfully, but these errors were encountered: