aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting
diff options
context:
space:
mode:
authorJeff Kelley2016-03-16 18:14:25 +0100
committerMelanie Thielker2016-03-16 19:22:40 +0100
commitefa21156f32c3e7919e53d69473276e63ff7f512 (patch)
treec5ed3e8a6f1156d3da9a3d4ba20bc962a047247d /OpenSim/Region/CoreModules/Scripting
parentRemove debug spam (diff)
downloadopensim-SC-efa21156f32c3e7919e53d69473276e63ff7f512.zip
opensim-SC-efa21156f32c3e7919e53d69473276e63ff7f512.tar.gz
opensim-SC-efa21156f32c3e7919e53d69473276e63ff7f512.tar.bz2
opensim-SC-efa21156f32c3e7919e53d69473276e63ff7f512.tar.xz
Implement Access-Control-Allow-Origin for HTTP LSL server
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
index ad22ec8..fffd640 100644
--- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
@@ -558,6 +558,8 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
558 response["content_type"] = requestData.responseType; 558 response["content_type"] = requestData.responseType;
559 response["keepalive"] = false; 559 response["keepalive"] = false;
560 response["reusecontext"] = false; 560 response["reusecontext"] = false;
561
562 response["access_control_allow_origin"] = "*";
561 563
562 //remove from map 564 //remove from map
563 lock (url.requests) 565 lock (url.requests)