learn icon indicating copy to clipboard operation
learn copied to clipboard

You should be using the MD5sum HTTP response header for wget-finder

Open rweichler opened this issue 10 years ago • 1 comments

I'm pretty sure most HTTP servers support just returning the MD5sum of a file, so you can just request that instead of downloading the whole file and MD5summing it locally (and wasting bandwidth/time).

I might make a PR of this tomorrow if I have time

really good idea, btw! saw this on HN

rweichler avatar Mar 13 '15 06:03 rweichler

Thanks for commenting, indeed, wget-finder could be smarter about it, it could check the Content-MD5 tag whenever it's available (and whenever wget supports the -S flag, the busybox version doesn't), it could also try to guess md5sum files placed side by side to the target file.

If you don't have time soon, I'll give it a try the next time I touch the code, thanks for the idea =)!

javier-lopez avatar Mar 13 '15 07:03 javier-lopez