Skip to content

Conversation

fredericgermain
Copy link

Do not use cache date if trying to resume download: if
the "If-Modified-Since:" HTTP header is present, Apple
servers ignores the Range: HTTP header.

Do not use cache date if trying to resume download: if
the "If-Modified-Since:" HTTP header is present, Apple
servers ignores the Range: HTTP header.
@fredericgermain
Copy link
Author

So actually, my patch fails when the file is complete (needed to download the big dmg file to see that), the server might send a 416 range not satisfiable.

I would just ignore curl error in this case maybe, the script would work. Getting detailed error with the python/curl subprocess is quite cumbersome...

@gregneagle gregneagle closed this Jun 15, 2020
@gregneagle gregneagle reopened this Jun 16, 2020
@gregneagle gregneagle changed the base branch from master to main June 16, 2020 04:01
@craig65535
Copy link
Contributor

I think this is obsoleted by #84

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

Successfully merging this pull request may close these issues.

3 participants