Difference between revisions of "CONTENT TYPE JSON"
Jump to navigation
Jump to search
Kireji Haiku (talk | contribs) (changed description) |
Kireji Haiku (talk | contribs) (added http_request to events) |
||
Line 20: | Line 20: | ||
{{LSL DefineRow||[[llHTTPResponse]]|}} | {{LSL DefineRow||[[llHTTPResponse]]|}} | ||
|events= | |events= | ||
{{LSL DefineRow||[[http_request]]|}} | |||
{{LSL DefineRow||[[http_response]]|}} | {{LSL DefineRow||[[http_response]]|}} | ||
|cat1=Chat | |cat1=Chat |
Revision as of 09:33, 1 January 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CONTENT_TYPE_JSON = 0x5;The integer constant CONTENT_TYPE_JSON has the value 0x5
Sets the Internet media type "Content-Type"
header of any subsequent LSL HTTP server response via llHTTPResponse to "application/json"
.
Caveats
Related Articles
Constants
• | CONTENT_TYPE_TEXT | |||
• | CONTENT_TYPE_HTML | |||
• | CONTENT_TYPE_XML | |||
• | CONTENT_TYPE_XHTML | |||
• | CONTENT_TYPE_ATOM | |||
• | CONTENT_TYPE_LLSD | |||
• | CONTENT_TYPE_FORM | |||
• | CONTENT_TYPE_RSS |
Functions
• | llSetContentType | |||
• | llHTTPResponse |
Events
• | http_request | |||
• | http_response |