mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-25 06:35:21 +00:00
The proxy returned HTML pages only. uv with --exclude-newer drops files that carry no upload time, so every file was filtered out. The handler now negotiates the representation from the Accept header, as PyPI does. It passes the upstream JSON through, including PEP 700 upload-time, and rewrites only the file URLs. HTML clients keep HTML. The handler also fetches the PEP 658 metadata sidecar and trusts the configured upstream host for file URLs.