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

Unable to access the crates.io website through cURL or pragmatically without extra HTTP headers #4783

Closed
JeffResc opened this issue May 5, 2022 · 1 comment
Labels
C-bug 🐞 Category: unintended, undesired behavior

Comments

@JeffResc
Copy link

JeffResc commented May 5, 2022

Current Behavior

Unable to access the crates.io website through cURL or pragmatically without extra HTTP headers. Returns a 404 error, for example:

# curl https://crates.io/crates/rand
{"errors":[{"detail":"Not Found"}]}

Expected Behavior

I expect the request to respond with status 200 and the page contents

Steps To Reproduce

Run the following command on the command line:

curl https://crates.io/crates/rand

Environment

  • Browser: curl 7.68.0
  • OS: 20.04.4 LTS (Focal Fossa)

Anything else?

Please see Kovah/LinkAce#465 for more details.

@JeffResc JeffResc added the C-bug 🐞 Category: unintended, undesired behavior label May 5, 2022
@carols10cents
Copy link
Member

Duplicate of #788. Please search existing issues to see if your problem has been reported before. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug 🐞 Category: unintended, undesired behavior
Projects
None yet
Development

No branches or pull requests

2 participants