Static Files

Required for the static-h2 and static-h3 profiles. Served over HTTPS on port 8443.

GET /static/{filename}

Serve 20 pre-loaded static files from /data/static/. Files should be loaded into memory at startup and served with the correct Content-Type:

ExtensionContent-Type
.csstext/css
.jsapplication/javascript
.htmltext/html
.woff2font/woff2
.svgimage/svg+xml
.webpimage/webp
.jsonapplication/json

Return 404 for missing files.