* Documentation patch from krtaylor. Thanks!

0.6.0-stable
Justin Clarke Casey 2008-03-19 10:47:40 +00:00
parent a0e1be3280
commit 16cd6cd82e
3 changed files with 10 additions and 0 deletions

View File

@ -47,6 +47,8 @@ Patches
* brianw/Sir_Ahzz * brianw/Sir_Ahzz
* ChrisDown * ChrisDown
* devalnor-#708 * devalnor-#708
* Diva Canto
* krtaylor (IBM)
LSL Devs LSL Devs

View File

@ -133,6 +133,9 @@ namespace OpenSim.Region.Environment.Modules
LLUUID reqID = LLUUID.Random(); LLUUID reqID = LLUUID.Random();
HttpRequestClass htc = new HttpRequestClass(); 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} // Parameters are expected in {key, value, ... , key, value}
if (parameters != null) if (parameters != null)
{ {

View File

@ -4295,6 +4295,11 @@ namespace OpenSim.Region.ScriptEngine.Common
public string llHTTPRequest(string url, LSL_Types.list parameters, string body) 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); m_host.AddScriptLPS(1);
IHttpRequests httpScriptMod = IHttpRequests httpScriptMod =
m_ScriptEngine.World.RequestModuleInterface<IHttpRequests>(); m_ScriptEngine.World.RequestModuleInterface<IHttpRequests>();