Change csv content type to text/csv (#16696)

* Change csv content type to text/csv

According to RFC4180: https://tools.ietf.org/html/rfc4180 MIME type for .csv file should be "text/csv"

* Add comment
This commit is contained in:
nufiko 2019-12-11 23:36:44 +01:00 committed by John Luo
parent eb113093cd
commit 93030a8819
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ namespace Microsoft.AspNetCore.StaticFiles
{ ".crt", "application/x-x509-ca-cert" },
{ ".csh", "application/x-csh" },
{ ".css", "text/css" },
{ ".csv", "application/octet-stream" },
{ ".csv", "text/csv" }, // https://tools.ietf.org/html/rfc7111#section-5.1
{ ".cur", "application/octet-stream" },
{ ".dcr", "application/x-director" },
{ ".deploy", "application/octet-stream" },