How can I use Qt to get html code of the redirected page?

两盒软妹~` 提交于 2019-12-06 07:38:44

That page appears to have a redirect.

From the Qt docs for 4.6:

Note: When the HTTP protocol returns a redirect no error will be reported. You can check if there is a redirect with the QNetworkRequest::RedirectionTargetAttribute attribute.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!