Can QNetworkAccessManager::put() receive response data?



  • I'm working with an interface in which an HTTP PUT will respond with data much as a GET would.

    Do all forms of QNetworkAccessManager::put() support this? One (QNetworkReply * QNetworkAccessManager::put(const QNetworkRequest & request, QIODevice * data) ) explicitly states that it does, the other 2 are silent.

    I'm currently using one of the other forms (QNetworkReply * QNetworkAccessManager::put(const QNetworkRequest & request, const QByteArray & data) ) and when the response is returned it appears that QT is resetting the connection and retrying.

    Thx


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.