From 16cd6cd82eec2aa28d86586928d3ab134425756e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 19 Mar 2008 10:47:40 +0000 Subject: * Documentation patch from krtaylor. Thanks! --- CONTRIBUTORS.txt | 2 ++ OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | 3 +++ OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 5 +++++ 3 files changed, 10 insertions(+) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index bd2def0..165aeb1 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -47,6 +47,8 @@ Patches * brianw/Sir_Ahzz * ChrisDown * devalnor-#708 +* Diva Canto +* krtaylor (IBM) LSL Devs diff --git a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs index fed8e07..ebc8568 100644 --- a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs +++ b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs @@ -133,6 +133,9 @@ namespace OpenSim.Region.Environment.Modules LLUUID reqID = LLUUID.Random(); HttpRequestClass htc = new HttpRequestClass(); + // Partial implementation: support for parameter flags needed + // see http://wiki.secondlife.com/wiki/LlHTTPRequest + // // Parameters are expected in {key, value, ... , key, value} if (parameters != null) { diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 85cf0b7..ba0c8e5 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -4295,6 +4295,11 @@ namespace OpenSim.Region.ScriptEngine.Common public string llHTTPRequest(string url, LSL_Types.list parameters, string body) { + // Partial implementation: support for parameter flags needed + // see http://wiki.secondlife.com/wiki/LlHTTPRequest + // parameter flags support are implemented in ScriptsHttpRequests.cs + // in StartHttpRequest + m_host.AddScriptLPS(1); IHttpRequests httpScriptMod = m_ScriptEngine.World.RequestModuleInterface(); -- cgit v1.1