Contributors:

Adam Wilson - Logo Pogo

Force Download Handler

A method to instructs the server to download the requested file instead of allowing the browser to attempt to open and display it.

If the file link has ?downloadable=1 URL parameter than the content will be dowloadable for the site users regardless of the media content mime type.

Example:

/link/to/media/content.pdf?downloadable=1