mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Merge branch '0.6.7-post-fixes' into vehicles
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
@@ -7841,8 +7841,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetHTTPHeader");
|
||||
return String.Empty;
|
||||
|
||||
if (m_UrlModule != null)
|
||||
return m_UrlModule.GetHttpHeader(new UUID(request_id), header);
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
|
||||
@@ -9120,13 +9122,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
|
||||
|
||||
public void llHTTPResponse(string url, int status, string body)
|
||||
public void llHTTPResponse(LSL_Key id, int status, string body)
|
||||
{
|
||||
// Partial implementation: support for parameter flags needed
|
||||
// see http://wiki.secondlife.com/wiki/llHTTPResponse
|
||||
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llHTTPResponse");
|
||||
|
||||
if (m_UrlModule != null)
|
||||
m_UrlModule.HttpResponse(new UUID(id), status,body);
|
||||
}
|
||||
|
||||
public void llResetLandBanList()
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
void llGroundRepel(double height, int water, double tau);
|
||||
LSL_Vector llGroundSlope(LSL_Vector offset);
|
||||
LSL_String llHTTPRequest(string url, LSL_List parameters, string body);
|
||||
void llHTTPResponse(string url, int status, string body);
|
||||
void llHTTPResponse(LSL_Key id, int status, string body);
|
||||
LSL_String llInsertString(string dst, int position, string src);
|
||||
void llInstantMessage(string user, string message);
|
||||
LSL_String llIntegerToBase64(int number);
|
||||
|
||||
@@ -864,9 +864,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_LSL_Functions.llHTTPRequest(url, parameters, body);
|
||||
}
|
||||
|
||||
public void llHTTPResponse(string url, int status, string body)
|
||||
public void llHTTPResponse(LSL_Key id, int status, string body)
|
||||
{
|
||||
m_LSL_Functions.llHTTPResponse(url, status, body);
|
||||
m_LSL_Functions.llHTTPResponse(id, status, body);
|
||||
}
|
||||
|
||||
public LSL_String llInsertString(string dst, int position, string src)
|
||||
|
||||
Reference in New Issue
Block a user