3 ms·
My browser opens up a download dialog on clicking this link. It's probably because the response headers don't include "Content-Type", and so it doesn't know if
by jolmg 7y ago
My browser opens up a download dialog on clicking this link. It's probably because the response headers don't include "Content-Type", and so it doesn't know if it will be able to interpret the response.
- kragen 7y agoInteresting, what browser?
- jolmg 7y agoFirefox on Archlinux. Though, now I think the issue is with an extension I have.
- kragen 7y agoWeird, I'm not having that problem in Firefox on Debian. But it's sure enough true that there's no Content-Type header, either with LWP or with Firefox. Tim, are you doing that on purpose?
- jolmg 7y agoI found it's my extension[1]. That's what's interpreting the lack of Content-Type as indication that Firefox is going to force a download (it actually doesn't) and showing me its own download dialog. [1] https://github.com/Rob--W/open-in-browser https://github.com/Rob--W/open-in-browser