C#C
C#10mo ago
TimberStalker

Blazor Wasm Static Content Error

When I load a static html file, I get this error in the console
Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
The actual network request gives a Ok (200)
When i check the file in sources, i get the message Content unavailable. Resource was not cached
Im trying to load it in an iframe, but the same thing happens if I load the file in the browser.
When I request with postman, the request works perfectly fine.
Was this page helpful?