Http response

From Second Life Wiki
Revision as of 09:50, 2 February 2007 by Nobody Fugazi (talk | contribs) (should not edit before first cup of coffee.)
Jump to navigation Jump to search

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

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 );