godot/scene/main
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
..
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
canvas_layer.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
canvas_layer.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
http_request.cpp Fix CORS problems due to added headers on JS target 2018-07-08 15:39:15 +02:00
http_request.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
instance_placeholder.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
instance_placeholder.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
node.cpp Hand-merge API hash fixes #18514 2018-04-29 20:44:48 +02:00
node.h Hand-merge API hash fixes #18514 2018-04-29 20:44:48 +02:00
resource_preloader.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
resource_preloader.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_tree.cpp Merge pull request #18082 from RandomShaper/improve-gui-touch-3.0 2018-05-13 21:30:37 +02:00
scene_tree.h Hand-merge API hash fixes #18514 2018-04-29 20:44:48 +02:00
timer.cpp Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
timer.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
viewport.cpp Fix double free for drag preview control in viewport 2018-05-13 21:56:56 +02:00
viewport.h Remove obsolete Viewport _update_rect() code 2018-01-18 22:37:45 +01:00