HF RL Explorer

Description-Content-Type with lowercase charset=utf-8 is incorrectly rejected

Description-Content-Type with lowercase charset=utf-8 is incorrectly rejected: a task in repo2rlenv-swe-next (Harbor dataset). When parsing package metadata that includes a Description-Content-Type header with a lowercase or mixed-case UTF-8 charset (e.g. charset=utf-8 or charset=Utf-8 ), the…

The task

When parsing package metadata that includes a `Description-Content-Type` header with a lowercase or mixed-case UTF-8 charset (e.g. `charset=utf-8` or `charset=Utf-8`), the `packaging` library raises an `InvalidMetadata` error even though these values are semantically equivalent to `charset=UTF-8`.

Part of FineEnvs/repo2rlenv-swe-next.