mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
22f7de45e8
Set psysonic/<version> as User-Agent on the audio reqwest::Client to prevent reverse proxies (nginx, Caddy, Traefik) from blocking requests with a 403. Add #[cfg(debug_assertions)] logging in fetch_data to show the exact URL, status, content-type and server header — useful for diagnosing proxy-related 403s reported by users. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>