Replies: 1 comment
-
This is intentional. The crates.io frontend is implemented using Ember.js, so there's no backend route that returns the HTML that you see for, say, https://crates.io/crates/rand. What happens instead is that requests with I'm guessing that what you're probably more interested instead is the crates.io API — in your example, https://crates.io/api/v1/crates/rand probably has the data you're looking for. crates.io implements a superset of the cargo registry web API, so those docs are a good place to start to see what's available. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can someone explain me why when I try to get the header of a crate page, it gives me
HTTP/2 404
Is this a bug?
example:
curl -I https://crates.io/crates/rand
gives you:
Beta Was this translation helpful? Give feedback.
All reactions