git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@173677 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f0ac1a5670
commit
3d734be032
|
@ -60,7 +60,7 @@ public class StorageManager {
|
||||||
|
|
||||||
ResponseBuilder response = Response
|
ResponseBuilder response = Response
|
||||||
.ok(so)
|
.ok(so)
|
||||||
.header("content-disposition","attachment; filename = "+fileName)
|
.header("content-disposition","attachment; filename = \""+fileName+"\"")
|
||||||
.header("Content-Length", size);
|
.header("Content-Length", size);
|
||||||
if (contentType!= null) response.header("Content-Type",contentType);
|
if (contentType!= null) response.header("Content-Type",contentType);
|
||||||
return response.build();
|
return response.build();
|
||||||
|
|
Loading…
Reference in New Issue