aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-08-14CGI: Use envvars to pass request URLDaniel Schadt
This is more conforming to other CGI environments, see for example [1] and [2]. This also allows us to easily add more fields in the future, for example to pass the remote address, the TLS certificate, the server version, ... [1]: https://en.wikipedia.org/wiki/Common_Gateway_Interface#Example [2]: https://sr.ht/~int80h/gemserv/
2021-08-03add basic tests for renderResponse & parseResponseDaniel Schadt
2021-08-03add basic test infrastructureDaniel Schadt
So far, the tests are still pretty pointless, but the infrastructure to build better tests is there now.
2021-06-28Initial commitDaniel Schadt
This is a working version that can serve pages, yay! A lot of features still missing though, as well as proper package metadata.