https://bugs.kde.org/show_bug.cgi?id=495027
liangjiahui <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Resolution|WORKSFORME |--- Status|RESOLVED |REOPENED --- Comment #11 from liangjiahui <[email protected]> --- Hi, Downloading AI models fails when routed to China mirrors(e.g. like mirrors.bfsu.edu.cn,mirrors.ustc.edu.cn) because the User-Agent triggers a 403 error from the mirror's WAF.I tested this removing the fake browser header or using a custom header makes the download work normally. curl -s -o /dev/null -w "%{http_code}" --request GET \ --url https://mirrors.bfsu.edu.cn/kde-application/digikam/facesengine/dnntestimage.jpeg \ --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.3' 403% curl -s -o /dev/null -w "%{http_code}" --request GET \ --url https://mirrors.bfsu.edu.cn/kde-application/digikam/facesengine/dnntestimage.jpeg 200% -- You are receiving this mail because: You are watching all bug changes.
