Hacker News new | past | comments | ask | show | jobs | submit login

It's good to see such a comprehensive list, but these only help me if I want to configure download vs view on a per-filetype basis?

There's no way to make some pdfs "display" in the browser and others force download using these headers, correct?




Dynamically select among these using a query string parameter in the link to the file.


Makes sense. But that seems way more hackish than just doing it in the HTML.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: