[Development] [Interest] there should be a function to allow follow redirections

Richard Moore rich at kde.org
Sat Dec 14 12:19:30 CET 2013

On 13 December 2013 12:53, iMath <2281570025 at qq.com> wrote:
> The Network Access API does not by default follow redirections, ok ,but
> there should be a function to allow follow all redirections.
> Although we can check if there is a redirect with the
> QNetworkRequest::RedirectionTargetAttribute attribute,this is ok if there is
> only one redirection with one url,but if there are many redirections from
> one url ,it would be cumbersome to follow all redirections by this way .
> it would be better to have a function like setFollowRedirections(bool) to
> allow use to do this ,for security ,setFolloRedirections(False) could be the
> default .

This is a known issue, see https://bugreports.qt-project.org/browse/QTBUG-8232



More information about the Development mailing list