From b618685fa4266e301ae7afcf86a96df8753859bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?cat=20=C3=A6scling?= <11325618-aescling@users.noreply.gitlab.com> Date: Thu, 27 Jul 2023 12:08:32 -0400 Subject: [PATCH] Correct README * Correct visible-to-httpd/binaries section * Add charset to Content-Type_table example --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1cdef0f..d139baa 100644 --- a/README.md +++ b/README.md @@ -62,11 +62,16 @@ feasible configuration is to place statically linked dependencies into + [s6-portable-utils](https://skaret.org/software/s6-portable-utils/) `s6-applyuidgid`, `s6-echo` + [9base](https://tools.suckless.org/9base/): -`tr(1)` `read(1)`, `urlencode(1)` +`tr(1)`, `read(1)`, `urlencode(1)` + - there has not been a release in a long time. urlencode was added in + [51cdf1141edd627428ecf0b8bd643142dd5c3773](https://git.suckless.org/9base/commit/51cdf1141edd627428ecf0b8bd643142dd5c3773.html) + and there has not been a tagged release since. + - some 9base commands do not build on my system, but thankfully none of the + tools required by httpd.execline fail. + [toybox](http://www.landley.net/toybox/): `wc(1)`, -`date(1p)`, `printenv(1)`, `stat(1)`, `cat(1)` - - +`date(1p)`, `stat(1)`, `cat(1)`, `timeout(1)` + - toybox’s `tr(1)` is pending but seems to work ++ etc.: presumably, your system already has `chroot(1)` note that if you build execline and s6-portable-utils with slashpackage support, they will expect to find commands in `/package`, and you will @@ -81,7 +86,7 @@ configuring headers and error status behavior. a key-value store for associating extensions with `Content-Type`s. for example, `data/Content-Type_table/html` -should probably contain the string `text/html`. +should probably contain the string `text/html; charset=utf-8`. this feature can be overriden on a per-file basis in two ways, the second overriding even the first. -- 2.47.3