mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
737ed0f66e
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. |
||
---|---|---|
.. | ||
api | ||
export | ||
js | ||
.eslintrc.engine.js | ||
.eslintrc.js | ||
.eslintrc.libs.js | ||
audio_driver_javascript.cpp | ||
audio_driver_javascript.h | ||
detect.py | ||
display_server_javascript.cpp | ||
display_server_javascript.h | ||
dom_keys.inc | ||
emscripten_helpers.py | ||
godot_audio.h | ||
godot_js.h | ||
http_client_javascript.cpp | ||
http_client.h.inc | ||
javascript_eval.cpp | ||
javascript_main.cpp | ||
javascript_runtime.cpp | ||
logo.png | ||
os_javascript.cpp | ||
os_javascript.h | ||
package-lock.json | ||
package.json | ||
platform_config.h | ||
run_icon.png | ||
SCsub |