Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QNetworkReply and Transfer-Encoding: chunked



  • Hello.

    After some request has finished, QNetworkReply's headers contain "Transfer-Encoding: chunked" and "Content-Length" is not found, which is fine.

    However, the response contents (QNetworkReply::readAll()) seems to be already decoded. I.e., no chunks.

    So, should I assume that the transfer decoding is automatically done by QNetworkAccessManager ?? Can somebody confirm this ??

    If yes, shouldn't Transfer-Encoding and Content-Length be automatically removed and inserted (respectively) from/into the headers?

    It's that. Thanks.


Log in to reply