|
@@ -109,7 +109,6 @@ namespace FileStorage.Host.Controllers
|
|
|
public async Task Files(string id, string expires, string clientid, string signature)
|
|
|
{
|
|
|
var fullPath = await _fileStorage.GetFilePath(id, expires, clientid, signature);
|
|
|
- HttpContext.Response.ContentType = "application/octet-stream";
|
|
|
await HttpContext.Response.SendFileAsync(fullPath);
|
|
|
}
|
|
|
|
|
@@ -126,7 +125,6 @@ namespace FileStorage.Host.Controllers
|
|
|
public async Task FilesIndefinitely(string id, string expires, string clientid, string signature)
|
|
|
{
|
|
|
var fullPath = await _fileStorage.GetFilePathIndefinitely(id, expires, clientid, signature);
|
|
|
- HttpContext.Response.ContentType = "application/octet-stream";
|
|
|
await HttpContext.Response.SendFileAsync(fullPath);
|
|
|
}
|
|
|
|