Serving WebViewer via ASP.NET - "Corrupted Reserved Bit" Warning

Q:

WebViewer is stuck showing an infinitely loading spinner, and in the console there is an exception similar to:

Uncaught TypeError: ua is not a function
at Object.e [as decompressFunction] (CoreControls.js:571)
at n (CoreControls.js:569)
at XMLHttpRequest.r.onload (CoreControls.js:570)

And a warning is being printed to the console:

Corrupted reserved bit

How do I resolve this?

A:

Please ensure that the server serving the WebViewer files to the client have their MIME-Types properly defined, per this guide:

If you are serving WebViewer from an ASP.NET Server, see:

Once this has been added to your server, ensure that your browser is not retrieving the requisite WebViewer files from disk cache (i.e. try loading WebViewer again in an Incognito/Private, or clear your browser’s cache)