aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie2013-05-05 22:01:07 +0200
committerMelanie2013-05-05 22:01:07 +0200
commita8faed6f76e5bb7936c1bc2b4711b5eeb143173d (patch)
treee4d3502d5e56b66a6841f7aa6cf3e58ecda96222 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentAdd RegionManager level and the ability to use literal XML to the dynamic flo... (diff)
downloadopensim-SC_OLD-a8faed6f76e5bb7936c1bc2b4711b5eeb143173d.zip
opensim-SC_OLD-a8faed6f76e5bb7936c1bc2b4711b5eeb143173d.tar.gz
opensim-SC_OLD-a8faed6f76e5bb7936c1bc2b4711b5eeb143173d.tar.bz2
opensim-SC_OLD-a8faed6f76e5bb7936c1bc2b4711b5eeb143173d.tar.xz
Implement llSetContentType using the new OpenID auth support for authentication
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index bb89ac1..6bcb361 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -13386,6 +13386,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
13386 13386
13387 return null; 13387 return null;
13388 } 13388 }
13389
13390 public void llSetContentType(LSL_Key id, LSL_Integer content_type)
13391 {
13392 if (m_UrlModule != null)
13393 {
13394 string type = "text.plain";
13395 if (content_type == (int)ScriptBaseClass.CONTENT_TYPE_HTML)
13396 type = "text/html";
13397
13398 m_UrlModule.HttpContentType(new UUID(id),type);
13399 }
13400 }
13389 } 13401 }
13390 13402
13391 public class NotecardCache 13403 public class NotecardCache