]> cat aescling's git repositories - httpd-execline.git/commit
introduce custom HTTP status pages [NEEDS WORK]
authorsingle-right-quote <34298117+single-right-quote@users.noreply.github.com>
Thu, 13 Aug 2020 21:20:08 +0000 (17:20 -0400)
committersingle-right-quote <34298117+single-right-quote@users.noreply.github.com>
Fri, 14 Aug 2020 19:08:14 +0000 (19:08 +0000)
commite594b4f93df76341133fa615bde8320f54453260
treeb1498a463f0055de6d89e29bb6cf9b649be501a9
parent5ea2e2e7ce34be3957e918eb18c079cb79df3df4
introduce custom HTTP status pages [NEEDS WORK]

as an additional bonus, child processes of `httpd.execline` now inherit
the environment variables for the parsed start line and headers; this
allows `http-error-response.execline` to make use of the host supplied
by the client request with minimal changes.

note that `Content-Length` is currently not supplied anymore for header
responses (functional, but the HTTP/1.1 standard says you “SHOULD” use
that header); this needs fixing.

also note that `http-error-response.execline` currently forces error
status pages to use a `Content-Type` of
`application/xhtml+xml; charset=utf-8`; surely we should allow the user
to override this. (perhaps make status code *folders*, and use
constituent files `Content-Type`, perhaps `extra_headers`, and of course
`message_body`, in that directory? this interface would be less than
ideal though)
README.md
binaries/http-error-response.execline
binaries/httpd.execline