Difference between revisions of "CONTENT TYPE TEXT"
Jump to navigation
Jump to search
Kireji Haiku (talk | contribs) (Created page with "<onlyinclude>{{#vardefine:CONTENT_TYPE_TEXT|{{LSL Const|CONTENT_TYPE_TEXT|integer|ihex=0|hex=0x0|c={{#if:{{{direct|}}}|Sets the content type of a llHTTPResponse to <code>{{St…") |
Kireji Haiku (talk | contribs) (changed description) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#vardefine:CONTENT_TYPE_TEXT|{{LSL Const|CONTENT_TYPE_TEXT|integer|ihex=0|hex=0x0|c={{#if:{{{direct|}}}|Sets the | <onlyinclude>{{#vardefine:CONTENT_TYPE_TEXT|{{LSL Const|CONTENT_TYPE_TEXT|integer|ihex=0|hex=0x0|c={{#if:{{{direct|}}}|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|text/plain}}</code>.}}}}}}</onlyinclude>{{LSL Constant | ||
|name={{#var:cname}} | |name={{#var:cname}} | ||
|type={{#var:type}} | |type={{#var:type}} | ||
|hvalue=0x0 | |hvalue=0x0 | ||
|value=0 | |value=0 | ||
|desc=Sets the | |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|text/plain}}</code>. | ||
|comment={{#var:comment}} | |comment={{#var:comment}} | ||
|examples= | |examples= |
Revision as of 09:22, 1 January 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CONTENT_TYPE_TEXT = 0x0;The integer constant CONTENT_TYPE_TEXT has the value 0x0
Sets the Internet media type "Content-Type"
header of any subsequent LSL HTTP server response via llHTTPResponse to "text/plain"
.
Caveats
Related Articles
Constants
• | CONTENT_TYPE_HTML | |||
• | CONTENT_TYPE_XML | |||
• | CONTENT_TYPE_XHTML | |||
• | CONTENT_TYPE_ATOM | |||
• | CONTENT_TYPE_JSON | |||
• | CONTENT_TYPE_LLSD | |||
• | CONTENT_TYPE_FORM | |||
• | CONTENT_TYPE_RSS |
Functions
• | llSetContentType | |||
• | llHTTPResponse |
Events
• | http_response |