huggingface / huggingface/dataset-viewer

Follow /auth-check 307 redirections

Open
#2,377 0 comments 0 reactions 0 assignees View on GitHub
bug P2
Dominant language
Python
Stars
899
Forks
130
Avg merge
9h 26m
Merged PRs (30d)
14

Description

See https://github.com/huggingface/datasets-server/issues/1655#issuecomment-1923688766: as the dataset has been renamed, an internal call to /auth-check returns a 307 redirection, but we don't follow it.

More generally, we should handle redirections in all the code (I think it's always handled by huggingface_hub, so it should be only in our custom requests)

Contributor guide

Open the contributing guide

Research direction

Start by locating the custom requests that call /auth-check and other internal endpoints; the issue indicates these may not use huggingface_hub's redirect handling. Verify the 307 response path, then confirm that custom requests follow redirects consistently and that the renamed dataset flow succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.