From 8f38953cbe052588cd8e609ba4b1374d960659da Mon Sep 17 00:00:00 2001 From: Anna Puddles <113144806+annapuddles@users.noreply.github.com> Date: Tue, 24 Jan 2023 14:14:36 -0500 Subject: [PATCH] Add a list of known issues --- file server/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/file server/README.md b/file server/README.md index 3aa5bf7..a4d07f9 100644 --- a/file server/README.md +++ b/file server/README.md @@ -12,3 +12,10 @@ When using the file server, all paths that do not match a notecard will return a ```lsl jsonrpc_link_notification(LINK_SET, "prim-dns:file-server:register-path", JSON_OBJECT, ["path", "/data.json"]); ``` + +## Known issues + +- The MIME types you can use are limited to those listed here: https://wiki.secondlife.com/wiki/LlSetContentType + - CSS notecards can't be used because browsers will reject loading CSS that does not have the MIME type `text/css`. + - You can embed CSS directly in XHTML pages instead. + - Browsers seem to accept Javascript without `text/javascript`.