Difference between revisions of "CONTENT TYPE LLSD"
Jump to navigation
Jump to search
(link Linden Lab Structured Data) |
m |
||
Line 3: | Line 3: | ||
|type={{#var:type}} | |type={{#var:type}} | ||
|value=6 | |value=6 | ||
|desc=Sets the {{Wikipedia|Internet media type|Internet media type}} <code>{{String|Content-Type}}</code> header of any subsequent [[LSL HTTP server]] response via [[llHTTPResponse]] to <code>{{String|application/llsd+xml ([[Linden Lab Structured Data]]) | |desc=Sets the {{Wikipedia|Internet media type|Internet media type}} <code>{{String|Content-Type}}</code> header of any subsequent [[LSL HTTP server]] response via [[llHTTPResponse]] to <code>{{String|application/llsd+xml}}</code> ([[Linden Lab Structured Data]]). | ||
|comment={{#var:comment}} | |comment={{#var:comment}} | ||
|examples= | |examples= |
Latest revision as of 00:45, 19 June 2024
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CONTENT_TYPE_LLSD = 6;The integer constant CONTENT_TYPE_LLSD has the value 6
Sets the Internet media type "Content-Type"
header of any subsequent LSL HTTP server response via llHTTPResponse to "application/llsd+xml"
(Linden Lab Structured Data).
Caveats
Related Articles
Constants
• | CONTENT_TYPE_TEXT | |||
• | CONTENT_TYPE_HTML | |||
• | CONTENT_TYPE_XML | |||
• | CONTENT_TYPE_XHTML | |||
• | CONTENT_TYPE_ATOM | |||
• | CONTENT_TYPE_JSON | |||
• | CONTENT_TYPE_FORM | |||
• | CONTENT_TYPE_RSS |
Functions
• | llSetContentType | |||
• | llHTTPResponse |
Events
• | http_request | |||
• | http_response |
Articles
• | LSL HTTP server |