ref 11720: DataMiner - Update to StorageHUB

https://support.d4science.org/issues/11720

Updated to StorageHub 

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/data-miner-manager-widget@171904 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-10-03 18:06:56 +00:00
parent 4696cf1510
commit 0f2d81f4b8
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class DownloadServlet extends HttpServlet {
}
}
}
logger.debug("DownloadServlet filename: "+fileName);
resp.setHeader("Content-Disposition:", "attachment;filename=\"" + fileName + "\"");
resp.setHeader("Content-Type", "application/force-download");
stream(itemDownload.getInputStream(), resp.getOutputStream());