virtualx-engine/platform/javascript
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
..
api Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
export [HTML5] Opt-in virtual keyboard support. 2021-03-11 23:08:08 +01:00
js [HTML5] Disable body_size in fetch. 2021-04-03 15:05:36 +02:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 11:33:59 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:02:37 -06:00
audio_driver_javascript.cpp Reorganize Project Settings 2021-02-18 11:23:34 -03:00
audio_driver_javascript.h Modernize Thread 2021-01-29 12:02:13 +01:00
detect.py Allow to not optimize release build 2021-03-14 15:51:05 +01:00
display_server_javascript.cpp Rename Texture.get_data() to get_image() 2021-03-28 13:00:46 +01:00
display_server_javascript.h [HTML5] Opt-in virtual keyboard support. 2021-03-11 23:08:08 +01:00
dom_keys.inc Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
emscripten_helpers.py [HTML5] Fix editor version numbering. 2021-03-20 14:35:28 +01:00
godot_audio.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godot_js.h [HTML5] Opt-in virtual keyboard support. 2021-03-11 23:08:08 +01:00
http_client.h.inc [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:07 +01:00
http_client_javascript.cpp [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:07 +01:00
javascript_eval.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
javascript_main.cpp [HTML5] Make home path persistent in editor. 2021-02-03 18:59:54 +01:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp [HTML5] Implement get_processor_count. 2021-02-17 13:03:52 +01:00
os_javascript.h [HTML5] Implement get_processor_count. 2021-02-17 13:03:52 +01:00
package-lock.json [HTML5] Add jsdoc2rst tool. 2021-02-26 11:33:59 +01:00
package.json [HTML5] Add jsdoc2rst tool. 2021-02-26 11:33:59 +01:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:24 +01:00