f90b24a805
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.
(cherry picked from commit
|
||
---|---|---|
.. | ||
audio.worklet.js | ||
library_godot_audio.js | ||
library_godot_display.js | ||
library_godot_editor_tools.js | ||
library_godot_eval.js | ||
library_godot_fetch.js | ||
library_godot_os.js | ||
library_godot_runtime.js |