Suppressing SSL errors

后端 未结 1 716
日久生厌
日久生厌 2021-01-12 21:30

I want to be able to read the headers sent back from a webpage in SSL mode. My Qt app however can\'t reach the webpage because it\'s in SSL mode I am gathering? Normal webvi

相关标签:
1条回答
  • 2021-01-12 21:46

    You need to connect your QNAM objects signal sslErrors(QNetworkReply *, QList<QSslError>) to a slot where you set QNetworkReply::ignoreSslErrors() and that'll allow QNAM to continue running. Qt Docs on it.

    0 讨论(0)
提交回复
热议问题