Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Some future release
-
None
Description
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 from 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 .