Skip to main content
Sign in
Snippets Groups Projects
Commit b9ce51ce authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Merge branch 'Hotfix/2254-fixContentLenghtCalculation' into 'master'

Fix: Update dependencies

See merge request !74
parents ee58700d 56f3121b
Branches
Tags v0.8.0
2 merge requests!75Update dev,!74Fix: Update dependencies
......@@ -134,7 +134,9 @@ namespace Coscine.Api.Blob.Controllers
}
var infos = await resourceTypeDefinition.GetEntry(resource.Id.ToString(), path);
var response = await resourceTypeDefinition.LoadEntry(resource.Id.ToString(), path);
new FileExtensionContentTypeProvider().TryGetContentType(path, out string contentType);
LogAnalytics("Download File", resourceId, path, user);
return File(response, contentType ?? "application/octet-stream");
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment