Digger icon indicating copy to clipboard operation
Digger copied to clipboard

progresss.fractionCompleted always 1

Open lexuanquynh opened this issue 5 years ago • 4 comments

have you support for that library yet?

lexuanquynh avatar Dec 08 '19 02:12 lexuanquynh

Digger.download(url)
            .progress { (p) in
                print("Downloading: \(p.fractionCompleted)")
                progress?(p.fractionCompleted)
        }

fractionCompleted is always 1...

iamimsh avatar Mar 25 '20 17:03 iamimsh

Hello... is there any update on this issue?

iamimsh avatar Mar 31 '20 15:03 iamimsh

I think the project isn't maintain

lexuanquynh avatar Mar 31 '20 23:03 lexuanquynh

my problem was solved like this find the line // rangeString String "bytes 9660646-72300329 / 72300330" // if let totalBytesString = responseHeaders ["content-range"] ?. components (separatedBy: change "Content-Range" to "content-range"

chertik avatar Feb 18 '21 13:02 chertik