diff options
author | Kitto Flora | 2009-09-30 19:07:18 +0200 |
---|---|---|
committer | Kitto Flora | 2009-09-30 19:07:18 +0200 |
commit | 07df0e0ab0c69633a6afec8d05cccc117656d3d9 (patch) | |
tree | 3048cc38b313e255cbf03fa3e2900e28cadc47c9 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | And another merge issue (diff) | |
parent | Fix loading modules with alternate configurations and ports into ROBUST. (diff) | |
download | opensim-SC-07df0e0ab0c69633a6afec8d05cccc117656d3d9.zip opensim-SC-07df0e0ab0c69633a6afec8d05cccc117656d3d9.tar.gz opensim-SC-07df0e0ab0c69633a6afec8d05cccc117656d3d9.tar.bz2 opensim-SC-07df0e0ab0c69633a6afec8d05cccc117656d3d9.tar.xz |
Merge branch '0.6.7-post-fixes' into vehicles
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 edcf11c..c41f2a5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -24,7 +24,7 @@ | |||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
@@ -7841,8 +7841,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7841 | public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) | 7841 | public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) |
7842 | { | 7842 | { |
7843 | m_host.AddScriptLPS(1); | 7843 | m_host.AddScriptLPS(1); |
7844 | NotImplemented("llGetHTTPHeader"); | 7844 | |
7845 | return String.Empty; | 7845 | if (m_UrlModule != null) |
7846 | return m_UrlModule.GetHttpHeader(new UUID(request_id), header); | ||
7847 | return String.Empty; | ||
7846 | } | 7848 | } |
7847 | 7849 | ||
7848 | 7850 | ||
@@ -9120,13 +9122,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9120 | } | 9122 | } |
9121 | 9123 | ||
9122 | 9124 | ||
9123 | public void llHTTPResponse(string url, int status, string body) | 9125 | public void llHTTPResponse(LSL_Key id, int status, string body) |
9124 | { | 9126 | { |
9125 | // Partial implementation: support for parameter flags needed | 9127 | // Partial implementation: support for parameter flags needed |
9126 | // see http://wiki.secondlife.com/wiki/llHTTPResponse | 9128 | // see http://wiki.secondlife.com/wiki/llHTTPResponse |
9127 | 9129 | ||
9128 | m_host.AddScriptLPS(1); | 9130 | m_host.AddScriptLPS(1); |
9129 | NotImplemented("llHTTPResponse"); | 9131 | |
9132 | if (m_UrlModule != null) | ||
9133 | m_UrlModule.HttpResponse(new UUID(id), status,body); | ||
9130 | } | 9134 | } |
9131 | 9135 | ||
9132 | public void llResetLandBanList() | 9136 | public void llResetLandBanList() |