Open akoeplinger opened 9 years ago
By default it only serves files with a known content type from this list: https://github.com/aspnet/StaticFiles/blob/d16a73cc05d842390768f78134c1eeb794215fae/src/Microsoft.AspNet.StaticFiles/FileExtensionContentTypeProvider.cs#L22
This e.g. doesn't include markdown (.md) files.
It should serve all content types (set StaticFileOptions.ServeUnknownFileTypes) by default imho.
Make sense as this is meant to be a dev-only HTTP server.
By default it only serves files with a known content type from this list: https://github.com/aspnet/StaticFiles/blob/d16a73cc05d842390768f78134c1eeb794215fae/src/Microsoft.AspNet.StaticFiles/FileExtensionContentTypeProvider.cs#L22
This e.g. doesn't include markdown (.md) files.
It should serve all content types (set StaticFileOptions.ServeUnknownFileTypes) by default imho.