Browse Source

Use application/octet-stream as default value of ContentType.

pull/9426/head
maliming 5 years ago
parent
commit
49058c9eec
  1. 1
      framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs

1
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; }

Loading…
Cancel
Save