damus
damus copied to clipboard
Add custom image downloader - reject responses with large content length
Ref: #310 conversation
Added a 20MB content length limit for all image files
Large PFP and Banner Image(172MB):
npub1yqqwsyt595pwtgf7sax7kgfl2z8fpewc0jmjaajnv6hgfxhckutq7ydzdd
| Before | After |
|---|---|
@jb55 Sorry for adding so many changes for a simple rebase but I think it was needed. The code is much cleaner now.
Not sure why the tests are failing. It appears to be unrelated to the changes?
the option setter thing is long overdue, thank you