project-nomad/admin/app
chriscrosstalk 3096c1e81a
fix(downloads): send a descriptive User-Agent so Wikimedia mirrors don't 403 (#1114)
download.kiwix.org routes the large Wikimedia-family ZIMs (Wikipedia,
Wikiversity, Wikibooks — including the flagship full Wikipedia) to
dumps.wikimedia.org, which enforces a User-Agent policy and returns HTTP
403 for requests with a missing or generic (axios/x) User-Agent. Because
doResumableDownload sent no User-Agent, every Wikimedia-hosted ZIM failed
to download while Kiwix-mirror-hosted ZIMs succeeded — so a curated set or
Easy Setup run would silently stall on exactly the highest-value content.

Add a descriptive User-Agent to the HEAD and GET requests. Verified
against the live mirror: default/empty UA -> 403, ProjectNOMAD UA -> 200/206.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-04 03:37:38 +00:00
..
controllers fix(AI): stream thinking from /v1 reasoning field + abort on client disconnect (#1078) 2026-08-04 03:37:34 +00:00
exceptions
…
jobs
…
middleware
…
models
…
services fix(easy-setup): streamline wizard + robust model recommendations (#1110) 2026-08-04 03:37:37 +00:00
utils fix(downloads): send a descriptive User-Agent so Wikimedia mirrors don't 403 (#1114) 2026-08-04 03:37:38 +00:00
validators
…