diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 12 |
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 |