this post was submitted on 04 Jun 2025
352 points (97.1% liked)

Programmer Humor

23899 readers
1130 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LodeMike 1 points 4 days ago (1 children)

But what if your browser restarts? Wget? How do cookies complicate that?

[–] dan@upvote.au 1 points 4 days ago* (last edited 4 days ago) (2 children)

But what if your browser restarts?

It should be able to resume where it left off. The HTTP Range header lets a client specify which part of a file they want. For a partially downloaded file, it can skip the part that has already been downloaded. If you're downloading a 1000MB file and 700MB of it was already downloaded, you'd only need the last 300MB.

This is also how multithreaded downloaders work - each thread is requesting a different piece of the file.

I think wget may support resumable downloads but I'm not 100% sure.

[–] LodeMike 1 points 4 days ago

Yes but do they actually do that?