logoalt Hacker News

what • yesterday at 8:55 PM • 1 reply • view on HN

Does it actually request the image that it already downloaded again to save it to a file? Seems rather silly?


Replies

ender341341 • yesterday at 10:44 PM

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.

➕ show 1 reply