diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 02be983..b631478 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7838,8 +7838,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7838 | public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) | 7838 | public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) |
7839 | { | 7839 | { |
7840 | m_host.AddScriptLPS(1); | 7840 | m_host.AddScriptLPS(1); |
7841 | NotImplemented("llGetHTTPHeader"); | 7841 | |
7842 | return String.Empty; | 7842 | if (m_UrlModule != null) |
7843 | return m_UrlModule.GetHttpHeader(new UUID(request_id), header); | ||
7844 | return String.Empty; | ||
7843 | } | 7845 | } |
7844 | 7846 | ||
7845 | 7847 | ||
@@ -9117,13 +9119,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9117 | } | 9119 | } |
9118 | 9120 | ||
9119 | 9121 | ||
9120 | public void llHTTPResponse(string url, int status, string body) | 9122 | public void llHTTPResponse(LSL_Key id, int status, string body) |
9121 | { | 9123 | { |
9122 | // Partial implementation: support for parameter flags needed | 9124 | // Partial implementation: support for parameter flags needed |
9123 | // see http://wiki.secondlife.com/wiki/llHTTPResponse | 9125 | // see http://wiki.secondlife.com/wiki/llHTTPResponse |
9124 | 9126 | ||
9125 | m_host.AddScriptLPS(1); | 9127 | m_host.AddScriptLPS(1); |
9126 | NotImplemented("llHTTPResponse"); | 9128 | |
9129 | if (m_UrlModule != null) | ||
9130 | m_UrlModule.HttpResponse(new UUID(id), status,body); | ||
9127 | } | 9131 | } |
9128 | 9132 | ||
9129 | public void llResetLandBanList() | 9133 | public void llResetLandBanList() |