* Documentation patch from krtaylor. Thanks!
parent
a0e1be3280
commit
16cd6cd82e
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>();
|
||||||
|
|
Loading…
Reference in New Issue