Hacker News new | ask | show | jobs
by danielbln 1601 days ago
Usually it's a HTTP header that's sent to your browser: Content-Disposition: attachment
2 comments

Or content-disposition as of HTTP/2. Just verified with the browser console that it's sending that header (and using HTTP/2).
Thanks, I had always wondered why some sites behave differently with some file types. A bit annoying, if you just want to glance at something for a while but not keep it around for longer.
There are browser addons that force the browser to ignore this header, for chrome e.g. https://chrome.google.com/webstore/search/undisposition?hl=e....