News for hackers. Stuff that matters.
Re:Those HTML attributes you never use by chrisfinazzo on Monday April 04, 2022 @09:47AM (#30906578)
I actually hadn't heard of CD before. Looking at it, using an attribute seems more straightforward and simple.

Maybe just me.

Re:Those HTML attributes you never use by jdmichal on Monday April 04, 2022 @01:35PM (#30909550)
`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.