You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
missing ETag header while use mirror endpoint #163
While using hf-mirror.com as a mirror to download models, a missing ETag header error was thrown.
The Python SDK follows metadata HEAD requests to retrieve the final ETag header. In the current implementation, we use a no_redirect_client and ignore 301/302 requests, which breaks parity with the behavior of the original Python SDK.
Activity
assafvayner commentedon Aug 14, 2026
Sorry for the delay, can you check if this is still an issue on latest main version and/or 1.0.0.
This was introduced between 1.0.0-rc.1 and the released version: https://github.com/huggingface/hf-hub/blob/8b00e9e/hf-hub/src/client.rs#L406-L438