summaryrefslogtreecommitdiff
path: root/rc/bin/rc-httpd/handlers
AgeCommit message (Collapse)Author
2020-08-02rc-httpd: fix invalid test(1) invocation in dir-indexAlex Musolino
2020-01-07rc-httpd: append carriage return to content-length headerAlex Musolino
2019-06-20rc-httpd: serve markdown with text/plain content-typeAlex Musolino
2019-06-17rc-httpd: set charset=utf-8 for all text/* content typesAlex Musolino
2019-06-17rc-httpd: only emit charset option for text/plain content typeAlex Musolino
2019-06-05rc-httpd(8): avoid duplicate log output in dir-index handlerAlex Musolino
Delay calling do_log until just before emitting the response. This avoids calling do_log before potentially handing control to the static-index handler, which also calls do_log.
2015-06-02rc-httpd: cleanup cgi handlercinap_lenrek
- avoid silly stats and checks for $cgi_dir, just use status from builtin cd. - log proper http status code from the cgi script
2015-05-14rc-httpd/handlers/dir-index: plan 9 files may be chmod +a:stanley lieber
The mode printed under the -l option contains 11 characters, interpreted as follows: the first character is d if the entry is a directory; a if the entry is an append-only file; - if the entry is a plain file. Therefore, handle them in automatically generated directory listings.
2015-03-14rc-httpd: support for http basic authentication, fix cgi support to work ↵cinap_lenrek
with hgweb.cgi
2014-07-11rc-httpd/handlers/serve-static: restore simple test for file type and ↵stanley lieber
hardcode max_age to 1 hour (thanks eekee)
2014-02-22rc-httpd/handlers/serve-static: restore Content-lengthstanley lieber
2013-02-19rc-httpd/handlers/serve-static: charset=utf-8stanley lieber
2013-02-04add rc-httpdstanley lieber