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

[SOLVED]Is it possible to detect the resumable links via QNetworkAccessManager



  • Suppose i wish to pause the download, and start it again. Can we know before hand whether the link is resumable



  • As far as I know <code>Content-Range</code> and <code>Accept-Ranges</code> headers are present if the server supports resumable downloads.



  • Thanks a lot! worked like a charm
    @if(!replySegment->rawHeaderList().contains("Content-Range")&&!replySegment->rawHeaderList().contains("Accept-Ranges"))
    {
    isResumable=false;
    return;
    }@


Log in to reply