Open dolftax opened 9 years ago
Disabling download option/support for now. Will handle later.
@eMBee could you add Content-Disposition: attachment
in the response for the files with mime-type application/x-unknown-content-type
?
Because, when href=src-of-file
is added (even with target="_self"), it opens up other window with ' Access denied for Guest '. As of course, as we are not sending headers along.
Or any other suggestion to download the file with the help of API?
can you give a url example please?
For unknown content type, the user should be able to download the file locally as it can't be viewed in the browser window.