A number of us are using a private site where we run an application offline. The application offers a download button so that we can take a snapshot of our offline progress, a sort of backup. When we go back on-line we can either upload the the information from the application or we can upload the backup files.
The problem is that whenever we hit the download button we always get the extra dialog asking if we want to save or cancel the file download. This might sound a little ridiculous, but we really do not want to have to move the mouse to the new dialog and have to click the Save button.
@Wilt if the client wants to save it, then it doesn't matter what headers are sent (you can 'save' or 'save link as' on anything in your browser), as the headers are information, not rules so attachment could be considered 'best not to display this yourself' while inline as 'best to display this yourself if you can'. I have simply implemented some checks on the file extension and if the content-type shows as application-octet stream I have then assigned it depending on what the file extension is. This is a nasty hack for the reasons I have stated in my previous post so if anyone has a simple solution that would work better I would love to know! Application/octet-stream This is the default for binary files. As it means unknown binary file, browsers usually don't execute it, or even ask if it should be executed. They treat it as if the Content-Disposition header was set to attachment, and propose a 'Save As' dialog. 'unknown' means 'unknown'. 'octet-steam' means 'bunch of bytes in a row', which you might know better as the term 'binary file'. All in all not that helpful, unfortunately.
The file mime type is application/octet-stream, there is no file extension.
What Is Application/octet-stream Charset=binary
Is there a way to change the Firefox configuration so that this dialog does not appear?
Thank you.
Apologies, but I have deleted all of the system information gathered automatically because I am not able to submit this request from the machines where the problem occurs.