8000 missing ETag header while use mirror endpoint · Issue #163 · huggingface/hf-hub · GitHub
[go: up one dir, main page]

Skip to content

missing ETag header while use mirror endpoint #163

Open

Description

@greenhat616
  • Version: 1.0.0-rc.1

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

  1. assafvayner commented on Aug 14, 2026

    @assafvayner
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0