Skip to content
lsl.devlsl.devLSL Dev

CONTENT TYPE HTML

Looking for the current API? Open the CONTENT_TYPE_HTML reference →

Wiki description

Sets the Internet media type "Content-Type" header of any subsequent LSL HTTP server response via llHTTPResponse to "text/html".

Caveats

  • When using CONTENT_TYPE_HTML, this setting will be ignored unless all of these conditions are met:
    • the web browser is the Second Life client
    • the user (logged into the SL client viewing the page) is the owner of the object.
    • 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.

See also: constants

See also: functions

See also: events

See also: articles

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from CONTENT TYPE HTML, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.