From 49058c9eec6bd29bb314dae4f37de6f108c5979d Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 28 Jun 2021 09:21:26 +0800 Subject: [PATCH] Use application/octet-stream as default value of ContentType. --- .../src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs index 613697dc5b..602c1aec21 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs @@ -14,6 +14,7 @@ namespace Volo.Abp.Content public RemoteStreamContent(Stream stream, string fileName): this(stream) { FileName = fileName; + ContentType = "application/octet-stream"; } public virtual string ContentType { get; set; }