mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 02:55:51 +00:00
fda64e0318
Update checks against registries without a hardcoded token endpoint (lscr.io and other spec-compliant registries) failed with a blanket "Check failed" because the manifest HEAD went out anonymously and the 401 was terminal. Parse the Bearer challenge on the 401, fetch a pull token from the advertised realm, and retry once. Token endpoints that answer with access_token instead of token are now accepted too. Fixes #1583.