logoalt Hacker News

ender341341 • yesterday at 10:44 PM • 1 reply • view on HN

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.


Replies

stackghost • today at 1:31 AM

No, this is not what’s happening. Or at least not the phenomenon I am discussing.