Hacker News new | ask | show | jobs
by what 53 days ago
Does it actually request the image that it already downloaded again to save it to a file? Seems rather silly?
1 comments

No, the server is just sending the file named 'foo.jpg', but encoded as a webp with webp mime type, so when you save the file it defaults to the webp extension cause it ends up treating the filename as a blob of text without an expected extension for the file type.
No, this is not what’s happening. Or at least not the phenomenon I am discussing.