A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
20
Task/HTTPS/LSL/https.lsl
Normal file
20
Task/HTTPS/LSL/https.lsl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
string sURL = "https://SourceForge.Net/";
|
||||
key kHttpRequestId;
|
||||
default {
|
||||
state_entry() {
|
||||
kHttpRequestId = llHTTPRequest(sURL, [], "");
|
||||
}
|
||||
http_response(key kRequestId, integer iStatus, list lMetaData, string sBody) {
|
||||
if(kRequestId==kHttpRequestId) {
|
||||
llOwnerSay("Status="+(string)iStatus);
|
||||
integer x = 0;
|
||||
for(x=0 ; x<llGetListLength(lMetaData) ; x++) {
|
||||
llOwnerSay("llList2String(lMetaData, "+(string)x+")="+llList2String(lMetaData, x));
|
||||
}
|
||||
list lBody = llParseString2List(sBody, ["\n"], []);
|
||||
for(x=0 ; x<llGetListLength(lBody) ; x++) {
|
||||
llOwnerSay("llList2String(lBody, "+(string)x+")="+llList2String(lBody, x));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue