Skip to content

llSetContentType

  • DirectoryllSetContentType void
    • HTTPRequestID key — A valid http_request() key
    • ContentType integer — Media type to use with any following llHTTPResponse(HTTPRequestID, ...)

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.