Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progresss.fractionCompleted always 1 #26

Open
lexuanquynh opened this issue Dec 8, 2019 · 4 comments
Open

progresss.fractionCompleted always 1 #26

lexuanquynh opened this issue Dec 8, 2019 · 4 comments

Comments

@lexuanquynh
Copy link

have you support for that library yet?

@iamimsh
Copy link

iamimsh commented Mar 25, 2020

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

fractionCompleted is always 1...

@iamimsh
Copy link

iamimsh commented Mar 31, 2020

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

@lexuanquynh
Copy link
Author

I think the project isn't maintain

@chertik
Copy link

chertik commented Feb 18, 2021

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants