This application is an extension of
rc-httpd(8). It supports the
Range HTTP header field.
For correctly retrieving the data from files, this repository also
contains a native plan9 application (C source code in /src, there's
also a mkfile).
In addition, the use case is providing a progressive web app for reading and writing the gridchat.
You need a plan9/9front system. The repository is complete, so after
cd src; mk install you should be ready to go. The run script
prepares the namespace.
You need to mount the gridchat to /n/chat before starting the run
script.
- We extend the default
serve-staticwith correct javascript mime types (bin/serve-static-modern). - We understand Ranges like
bytes=1-2andbytes=1-, but no combinations likebytes=1-2, 5-6. - To use the progressive web app features without https, you can whitelist
the domain (in chome at least). See the
chrome://flags.