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

Enable response compression support for WebAssembly by default #376

Closed danroth27 closed 5 years ago

danroth27 commented 5 years ago

Currently for Blazor we explicitly enable response compression support for WebAssembly (application/wasm). Given that WebAssembly is picking up, it makes sense to enable response compression for WebAssembly by default.

Tratcher commented 5 years ago

@muratg @shirhatti this is a XS ask for 2.2.

muratg commented 5 years ago

@Tratcher what's the PR looking like? Single line addition to https://github.com/aspnet/BasicMiddleware/blob/release/2.2/src/Microsoft.AspNetCore.ResponseCompression/ResponseCompressionDefaults.cs?

I think it's fine, but I'll let @shirhatti make a decision.

Tratcher commented 5 years ago

Right. I'll send it.