aspnet / BasicMiddleware

[Archived] Basic middleware components for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
169 stars 84 forks source link

Add image/svg+xml MIME type to be compressed #270

Closed buvinghausen closed 6 years ago

buvinghausen commented 6 years ago

Your default MIME types to compress list is pretty comprehensive but it's missing the SVG mime type which is ultimately XML.

Even the example posted about adding Brotli support adds it:

https://blogs.msdn.microsoft.com/dotnet/2017/07/27/introducing-support-for-brotli-compression/

dnfclas commented 6 years ago

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request. Thanks, .NET Foundation Pull Request Bot

Tratcher commented 6 years ago

Closing this as a duplicate for now. We can revisit it when we get https://github.com/aspnet/BasicMiddleware/issues/182 resolved. @glennc