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

Fix 401 error for unauthticated requests to non-existing repos #4472

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

lhoestq
Copy link
Member

@lhoestq lhoestq commented Jun 10, 2022

The hub now returns 401 instead of 404 for unauthenticated requests to non-existing repos.
This PR add support for the 401 error and fixes the CI fails on master

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 10, 2022

The documentation is not available anymore as the PR was closed or merged.

@lhoestq lhoestq requested a review from SBrandeis June 10, 2022 12:52
Copy link
Contributor

@SBrandeis SBrandeis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lhoestq lhoestq merged commit 3dfd44e into master Jun 10, 2022
@lhoestq lhoestq deleted the fix-401-for-non-existsing-repo branch June 10, 2022 12:55
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

Successfully merging this pull request may close these issues.

3 participants