Hello,
Comparing the default mime types of Suave
|
let defaultMimeTypesMap = function |
|
| ".bmp" -> createMimeType "image/bmp" false |
|
| ".css" -> createMimeType "text/css" true |
|
| ".gif" -> createMimeType "image/gif" false |
|
| ".png" -> createMimeType "image/png" false |
|
| ".svg" -> createMimeType "image/svg+xml" true |
|
| ".ico" -> createMimeType "image/x-icon" false |
|
| ".xml" -> createMimeType "application/xml" true |
|
| ".js" -> createMimeType "application/javascript" true |
|
| ".json" -> createMimeType "application/json" true |
|
| ".map" -> createMimeType "application/json" true |
|
| ".htm" |
|
| ".html" -> createMimeType "text/html" true |
|
| ".jpe" |
|
| ".jpeg" |
|
| ".jpg" -> createMimeType "image/jpeg" false |
|
| ".exe" -> createMimeType "application/exe" false |
|
| ".pdf" -> createMimeType "application/pdf" false |
|
| ".txt" -> createMimeType "text/plain" true |
|
| ".ttf" -> createMimeType "application/x-font-ttf" true |
|
| ".otf" -> createMimeType "application/font-sfnt" true |
|
| ".woff" -> createMimeType "application/font-woff" false |
|
| ".woff2" -> createMimeType "application/font-woff2" false |
|
| ".eot" -> createMimeType "application/vnd.ms-fontobject" false |
|
| _ -> None |
to the list of ASP.NET Core
https://github.com/dotnet/aspnetcore/blob/86e28e7b267579e2999e06b63eeef27e4836384a/src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs#L24-L404
There is quite the delta. Would you be open to having the same list?