Difference between revisions of "CONTENT TYPE JSON"

From Second Life Wiki
Jump to navigation Jump to search
m (fixed visibility)
m (not hex)
 
Line 1: Line 1:
<onlyinclude>{{#vardefine:CONTENT_TYPE_JSON|{{LSL Const|CONTENT_TYPE_JSON|integer|ihex=5|hex=0x5|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|application/json}}</code>.}}}}}}</onlyinclude>{{LSL Constant
<onlyinclude>{{#vardefine:CONTENT_TYPE_JSON|{{LSL Const|CONTENT_TYPE_JSON|integer|5|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|application/json}}</code>.}}}}}}</onlyinclude>{{LSL Constant
|name={{#var:cname}}
|name={{#var:cname}}
|type={{#var:type}}
|type={{#var:type}}
|hvalue=0x5
|value=5
|value=5
|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/json}}</code>.
|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/json}}</code>.

Latest revision as of 02:07, 2 January 2014

Description

Constant: integer CONTENT_TYPE_JSON = 5;

The integer constant CONTENT_TYPE_JSON has the value 5

Sets the "Wikipedia logo"Internet media type "Content-Type" header of any subsequent LSL HTTP server response via llHTTPResponse to "application/json".

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer CONTENT_TYPE_JSON = 5;