From kde-frameworks-devel Mon Feb 03 10:26:15 2020 From: laurent Montel Date: Mon, 03 Feb 2020 10:26:15 +0000 To: kde-frameworks-devel Subject: Re: Banning QNetworkAccessManager Message-Id: <5334395.DvuYhMxLoT () linux-zym0> X-MARC-Message: https://marc.info/?l=kde-frameworks-devel&m=158072565716002 Le lundi 3 f=E9vrier 2020, 10:49:10 CET David Edmundson a =E9crit : > I updated: >=20 > https://community.kde.org/Policies/API_to_Avoid >=20 > Which had no mention of this. >=20 > David I think that you made an error=20 "networkAccessManger->setAttribute(QNetworkRequest::FollowRedirectsAttribut= e,=20 true); " Doesn't exist it's a enum from QnetworkRequest::RedirectPolicy And FollowRedirectsAttribute is old value It seems that we need to use QnetworkRequest::NoLessSafeRedirectPolicy=20 directly no ? =2D-=20 Laurent Montel | laurent.montel@kdab.com | KDE/Qt Senior Software Engineer= =20 KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53= ,=20 www.kdab.fr KDAB - The Qt, C++ and OpenGL Experts - Platform-independent=20 software solutions=20