[Interest] there should be a function to allow follow redirections
2281570025 at qq.com
Fri Dec 13 13:53:26 CET 2013
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 .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest