Open severo opened 1 year ago
It should return 401 (Unauthorized).
See for example https://datasets-server.huggingface.co/splits?dataset=severo/bigcode/the-stack from a private window.
Or https://datasets-server.huggingface.co/splits?dataset=JosephusCheung/GuanacoDataset (if you have not access to it), while passing credentials (opening it while logged in Hugging Face will pass your cookie)
When processing this issue, try to also test authenticated against authorized, and add examples in the openapi spec if needed
It should return 401 (Unauthorized).
See for example https://datasets-server.huggingface.co/splits?dataset=severo/bigcode/the-stack from a private window.
Or https://datasets-server.huggingface.co/splits?dataset=JosephusCheung/GuanacoDataset (if you have not access to it), while passing credentials (opening it while logged in Hugging Face will pass your cookie)