llGetHTTPHeader

From Second Life Wiki
Revision as of 20:53, 27 February 2009 by Strife Onizuka (talk | contribs) (New page: {{LSL_Function |func_id=349|func_sleep=0.0|func_energy=10.0 |func=llGetHTTPHeader|return_type=string |p1_type=key|p1_name=request_id|p1_desc=A valid HTTP request key. |p2_type=string|p2_na...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: string llGetHTTPHeader( key request_id, string header );

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 variable name would be "HTTP_CONTENT_TYPE").
All Issues ~ Search JIRA for related Bugs

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

Search JIRA for related Issues

Signature

function string llGetHTTPHeader( key request_id, string header );