CONTENT TYPE HTML

From Second Life Wiki
Revision as of 07:09, 1 January 2014 by Kireji Haiku (talk | contribs) (added caveats)
Jump to navigation Jump to search

Description

Constant: integer CONTENT_TYPE_HTML = 0x1;

The integer constant CONTENT_TYPE_HTML has the value 0x1

Sets the content type of a llHTTPResponse to "text/html".

Caveats

  • When using CONTENT_TYPE_HTML, this setting will be ignored unless all of these conditions are met:
    1. the web browser is the Second Life client
    2. the user (logged into the SL client viewing the page) is the owner of the object.
    3. the user (logged into the SL client viewing the page) is connected to the region the object is located in
    Obviously this is not compatible with group owned objects. One way around this limitation would be to temporarily attach a repeated.


Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer CONTENT_TYPE_HTML = 0x1;