Difference between revisions of "Http response"

From Second Life Wiki
Jump to navigation Jump to search
(Note regarding limitations w.r.t. headers)
m (should not edit before first cup of coffee.)
Line 1: Line 1:
{{LSL_Event|event_id=32|event_delay|event=http_response|p1_type=key|p1_name=request_id|p1_desc|p2_type=integer|p2_name=status|p2_desc|p3_type=list|p3_name=metadata|p3_desc|p4_type=string|p4_name=body|p4_desc|event_desc=Triggered when task receives a response to one of its llHTTPRequests|constants|spec|caveats|examples|helpers|also_header|also_events|also_functions|also_articles|also_footer
{{LSL_Event|event_id=32|event_delay|event=http_response|p1_type=key|p1_name=request_id|p1_desc|p2_type=integer|p2_name=status|p2_desc|p3_type=list|p3_name=metadata|p3_desc|p4_type=string|p4_name=body|p4_desc|event_desc=Triggered when task receives a response to one of its llHTTPRequests|constants|spec|caveats|examples|helpers|also_header|also_events|also_functions|also_articles|also_footer
|notes=If for some reason while using llHTTPRequest/XML-RPC you are unable to parse a known good RSS feed or some other form of web contents, you will need to work around it outside of SecondLife. This is unlikely to change in the near future since checking the headers requires more overhead at the simulator level.
|notes=If for some reason while using llHTTPRequest/http_response you are unable to parse a known good RSS feed or some other form of web contents, you will need to work around it outside of SecondLife. This is unlikely to change in the near future since checking the headers requires more overhead at the simulator level.
|mode|deprecated}}[[Category:LSL_Stub]]
|mode|deprecated}}[[Category:LSL_Stub]]

Revision as of 08:50, 2 February 2007

Description

Event: http_response( key request_id, integer status, list metadata, string body ){ ; }

Triggered when task receives a response to one of its llHTTPRequests

• key request_id
• integer status
• list metadata
• string body

Caveats


Examples

Notes

If for some reason while using llHTTPRequest/http_response you are unable to parse a known good RSS feed or some other form of web contents, you will need to work around it outside of SecondLife. This is unlikely to change in the near future since checking the headers requires more overhead at the simulator level.

Deep Notes

Signature

event void http_response( key request_id, integer status, list metadata, string body );