godot/platform/javascript/js/engine
Fabio Alessandrelli 737ed0f66e [HTML5] Disable body_size in fetch.
We were using `Content-Length` from the server when `Content-Encoding`
was not set (i.e. response was not compressed).

Sadly, in CORS requests accessing headers is restricted, and while
`Content-Length` is enabled by default, `Content-Encoding` is not.

This results in the impossibility of knowing if the content was
compressed, unless the server explicitly enabled the encoding header
via `Access-Control-Expose-Headers`.

To keep maximum compatibility we must disable `body_size` completely.
2021-04-03 15:05:36 +02:00
..
config.js [HTML5] Drag and drop zip in project manager. 2021-03-12 10:16:02 +01:00
engine.externs.js [HTML5] Preloader fetch, streaming instantiation. 2021-03-05 20:11:18 +01:00
engine.js [HTML5] Fix Mono builds (old emcc?) 2021-03-29 18:15:22 +02:00
preloader.js [HTML5] Disable body_size in fetch. 2021-04-03 15:05:36 +02:00