How to force an iframe to preview content when the file type is application/octet-stream?
I’m working on a web application where I need to display file previews in an iframe
. The files are served with a Content-Type of application/octet-stream
, but instead of previewing the content, the browser downloads the file.