-
Notifications
You must be signed in to change notification settings - Fork 628
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
Crates.io should not require the accept:
header to contain the string html
#960
Comments
What version of Edge are you using ? I can browse the site just fine using Microsoft Edge 40.15063.0.0 on Windows 10 Pro 1703. What do you mean by "not accessible" ? Do you get an empty response ? a 404 ? |
Yes, I get the 404 response because it did not send an Accept header that contains the string "html". I'm on the Insider Fast track on build 16257. |
Update: It appears my Edge is now sending |
This indeed sounds like a duplicate of #788. |
Microsoft Edge,
curl
, and likely other tools sendAccept: */*
. Crates.io is not accessible to these tools, and pages cannot be accessed via curl unlessAccept: text/html
or some variant containing html is sent.crates.io/src/dist.rs
Lines 42 to 45 in d6eaeb8
The text was updated successfully, but these errors were encountered: