ASP.NET Core MVC Middleware to define default compression quality priorities.
public void Configure(IApplicationBuilder app, ...)
{
app
...
.UseMiddleware<DefaultResponseCompressionQualityMiddleware>(new Dictionary<string, double>
{
{ "br", 1.0 },
{ "gzip", 0.9 }
})
...
.UseResponseCompression()
...
}