From def25cb3de048bd1127ab8a60ee84c0f6ba0da28 Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Tue, 5 Mar 2019 13:50:48 -0800 Subject: [PATCH] Document the change policy for FileExtensionContentTypeProvider #2454 (#8213) --- .../StaticFiles/src/FileExtensionContentTypeProvider.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs b/src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs index ea5775c73e..a2b603f37c 100644 --- a/src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs +++ b/src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs @@ -11,6 +11,10 @@ namespace Microsoft.AspNetCore.StaticFiles /// public class FileExtensionContentTypeProvider : IContentTypeProvider { + // Notes: + // - This table was initially copied from IIS and has many legacy entries we will maintain for backwards compatibility. + // - We only plan to add new entries where we expect them to be applicable to a majority of developers such as being + // used in the project templates. #region Extension mapping table /// /// Creates a new provider with a set of default mappings.