llSetContentType
function ll.SetContentType(HTTPRequestID: string, ContentType: number)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(string)- A valid http_request() key
ContentType(number)- Media type to use with any following llHTTPResponse(HTTPRequestID, ...)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetContentType().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetContentType