tugberkugurlu / k-http

ASP.NET 5 Command-line HTTP server to host static files
MIT License
15 stars 3 forks source link

Should allow files with unknown content type #1

Open akoeplinger opened 9 years ago

akoeplinger commented 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.

tugberkugurlu commented 9 years ago

Make sense as this is meant to be a dev-only HTTP server.