Qt 6.11 is out! See what's new in the release
blog
Help to download files http qt
-
-
I'm doing http client very basic. But all time show me this error:
"Error transferring web - server replied: Not Acceptable"I do like always:
manager->get(QNetworkRequest(QUrl("web")));And deppend of the network request i show error or it's working.
Probably you just replaced a proper www-address with "web" for posting. That is not valid and cannot work.
Did you try also with the short example code from the documentation?
QNetworkAccessManager *manager = new QNetworkAccessManager(this); connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*))); manager->get(QNetworkRequest(QUrl("http://qt-project.org"))); -
I'm doing http client very basic. But all time show me this error:
"Error transferring web - server replied: Not Acceptable"I do like always:
manager->get(QNetworkRequest(QUrl("web")));And deppend of the network request i show error or it's working.
@Jeronimo
what kind of server is it? Since it returned "Not acceptable" (406)...