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

`Content-Disposition` also works for form submission. If a response to a form submission contains the `Content-Disposition` header, the browser will expose that to the user as a download and the page will not navigate.



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

Search: