Difference between revisions of "LlGetHTTPHeader"

From Second Life Wiki
Jump to navigation Jump to search
m
m (preview marked)
Line 13: Line 13:
|examples=
|examples=
|helpers
|helpers
|mode=preview
|also_functions=
|also_functions=
{{LSL DefineRow||[[llGetFreeURLs]]}}
{{LSL DefineRow||[[llGetFreeURLs]]}}

Revision as of 12:45, 2 June 2009

  Note! Preview Documentation

This function only exists on the preview grid

Summary

Function: string llGetHTTPHeader( key request_id, string header );
0.0 Forced Delay
10.0 Energy

Returns a string that is the value for header for request_id.

• key request_id A valid HTTP request key.
• string header Header value name.

Caveats

  • LSL is not a CGI environment
    • "Content-Type" is an example of a normal header name, in a CGI environment the name would be "HTTP_CONTENT_TYPE".

Examples

See Also

Events

•  http_request

Functions

•  llGetFreeURLs
•  llRequestURL
•  llRequestSecureURL
•  llReleaseURL
•  llHTTPResponse

Articles

•  LSL http server
•  "Wikipedia logo"Wikipedia:List of HTTP headers

Deep Notes

History

Signature

function string llGetHTTPHeader( key request_id, string header );