|
|
|
OK, I boiled it down to this snippet:
default } This could be related to SVC-1229
Compiler fix. Does not require a full redeploy.
Script with both llHTTPRequest and http_response now compile in mono, however the http_response event does not get called.
=============== snip ======================== default http_response(key request_id, integer status, list metadata, string body) { llSay(0,"Response:"); llSay(0,(string)request_id); llSay(0,(string)status); llSay(0,(string)llList2CSV(metadata)); llSay(0,body); }} I confirm: any script calling httprequest simply are ignored, no http_response called. Since at least 75% of my scripts rely on httprequest, mono is mostly unusable for me
Is Major good enough for this pup or should this get elevated?
Love that proactive answer to my question Scouse - thanks!
This looks like it is working now.
Confirmed both http and https for "GET" and "PUT" methods. http headers were also confirmed. I did not test POST or DELETE. Thanks!
All list metadata's are failing as per the above script, reopened
key httpReq; default http_response(key request_id, integer status, list metadata, string body) { llSay(0,"Response:"); llSay(0,(string)request_id); llSay(0,(string)status); llSay(0,(string)llList2CSV(metadata)); llSay(0,body); }} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
default
{
state_entry() { llHTTPRequest("http://secondlife.com/", [HTTP_METHOD, "GET"], ""); }
http_response (key keyID, integer intStatus, list lstMetadata, string strBody) { llOwnerSay(strBody); }
}
Further, I have two versions of a tip jar script, identical except that one uses HTTP and the other doesn't. They both work fine in LSL, but the HTTP version won't compile to Mono.