Implement Access-Control-Allow-Origin for HTTP LSL server

LSLKeyTest
Jeff Kelley 2016-03-16 18:14:25 +01:00 committed by Melanie Thielker
parent 8e772fde7f
commit efa21156f3
1 changed files with 2 additions and 0 deletions

View File

@ -558,6 +558,8 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
response["content_type"] = requestData.responseType;
response["keepalive"] = false;
response["reusecontext"] = false;
response["access_control_allow_origin"] = "*";
//remove from map
lock (url.requests)