Skip to content

llSetContentType

void llSetContentType(key HTTPRequestID, integer ContentType)

Set the media type of an LSL HTTP server response to ContentType.

HTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants.

Parameters
HTTPRequestID (key)
A valid http_request() key
ContentType (integer)
Media type to use with any following llHTTPResponse(HTTPRequestID, ...)

Add example usage here.

Add additional notes, caveats, or tips here.

  • Related pages can be linked here