diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 862ff509c0..e2bdd59d28 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -7646,6 +7646,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return DateTime.UtcNow.TimeOfDay.TotalSeconds; } + public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) + { + m_host.AddScriptLPS(1); + NotImplemented("llGetHTTPHeader"); + return String.Empty; + } + + public LSL_String llGetSimulatorHostname() { m_host.AddScriptLPS(1); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 9ebc0416d3..a575f877d6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs @@ -123,6 +123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces LSL_Integer llGetFreeURLs(); LSL_Vector llGetGeometricCenter(); LSL_Float llGetGMTclock(); + LSL_String llGetHTTPHeader(LSL_Key request_id, string header); LSL_Key llGetInventoryCreator(string item); LSL_Key llGetInventoryKey(string name); LSL_String llGetInventoryName(int type, int number); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 202130e2b4..8299087528 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs @@ -474,6 +474,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_LSL_Functions.llGetGMTclock(); } + public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) + { + return m_LSL_Functions.llGetHTTPHeader(request_id, header); + } + public LSL_Key llGetInventoryCreator(string item) { return m_LSL_Functions.llGetInventoryCreator(item);