Difference between revisions of "Http request"

From Second Life Wiki
Jump to navigation Jump to search
Line 14: Line 14:
|also_header
|also_header
|also_events
|also_events
|also_functions={{LSL DefineRow||[[llHTTPServerRemove]]|For removing the current HTTP server from a prim.}}
|also_functions={{LSL DefineRow||[[llHTTPServer]]|For opening an llHTTPServer.}}
{{LSL DefineRow||[[llHTTPServerRemove]]|For removing the current HTTP server from a prim.}}
{{LSL DefineRow||[[llGetHTTPServerURL]]|For retrieving the current HTTP server URL.}}
{{LSL DefineRow||[[llGetHTTPServerURL]]|For retrieving the current HTTP server URL.}}
{{LSL DefineRow||[[llHTTPResponse]]|For replying to HTTP requests.}}
{{LSL DefineRow||[[llHTTPResponse]]|For replying to HTTP requests.}}

Revision as of 06:59, 6 November 2007

Emblem-important-yellow.png LSL Feature Request
The described event does not exist. This article is a feature request.

Description

Event: http_request( string verb, string path_info, list <span title="HTTP request parameters in the format
[param1, value1, param2, value2, . . . paramN, valueN]" style="border-bottom:1px dotted; cursor:help;">params
, string body ){ ; }

Triggered when task receives an HTTP request.

• string verb
• string path_info Requesting URL.
• list params HTTP request parameters in the format
[param1, value1, param2, value2, . . . paramN, valueN]
• string body Contents of the request.

Examples

Notes

Zero Linden's Office Hours Discussion On Incoming HTTP: [1]
PJIRA feature request at SVC-913
Please go vote if this feature is important to you.

See Also

Functions

•  llHTTPServer For opening an llHTTPServer.
•  llHTTPServerRemove For removing the current HTTP server from a prim.
•  llGetHTTPServerURL For retrieving the current HTTP server URL.
•  llHTTPResponse For replying to HTTP requests.
•  llEscapeURL
•  llUnescapeURL

Deep Notes

Signature