[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
 

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