godot/scene
GagaPete 139185e543 Fix CORS problems due to added headers on JS target
Before this change, missing User-Agent and Accept headers were automatically
added on all platforms. Setting the User-Agent header forces the browser to
do a CORS preflight (see 1) which fails if the HTTP endpoint is not
configured appropriate. It's not neccesary to set either header as the
browser sets them and so this commit disables that functionality on the JS
target.

1: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Simple_requests
(cherry picked from commit 8a4dccc4ce)
2018-07-08 15:39:15 +02:00
..
2d Revert "Prevent visibility notification been called twice in object creation" 2018-06-05 12:14:57 +02:00
3d Check for 0 roll influence 2018-06-01 17:59:15 +02:00
animation fix bone scale/rotation in AnimationPlayers 2018-04-28 20:19:35 +02:00
audio Use fake audio playing property in editor 2018-05-13 21:42:27 +02:00
gui Change ".." punctuation for "..." in editor strings (#16507) 2018-06-05 21:42:33 +02:00
main Fix CORS problems due to added headers on JS target 2018-07-08 15:39:15 +02:00
resources added custom aabb to primitives 2018-05-13 22:41:29 +02:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
register_scene_types.cpp BMFont loading direct support from .fnt files. 2018-01-16 17:58:04 -03:00
register_scene_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_string_names.cpp Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification. 2018-01-12 08:29:24 -03:00
scene_string_names.h Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification. 2018-01-12 08:29:24 -03:00