在QT中使用
QNetworkAccessManager
QNetworkRequest
访问网页获取内容为什么老是报下面的页面:
访问的链接url : "https://www.baidu.com"
finishedSlot NO : "<HEAD><TITLE>Authentication Required</TITLE></HEAD>
<BODY BGCOLOR="white" FGCOLOR="black"><H1>Authentication Required</H1><HR>
<FONT FACE="Helvetica,Arial"><B>
</B></FONT>
<HR>
<!-- default "Authentication Required" response (307) -->
</BODY>
"
还麻烦大神解答一下,谢谢