Fork/mirror of Andy Wingo's tekuti
befda5cb02
Change to use (web server) instead of our own loop. This also means that requests are request objects from (web request), and responses are from (web response). * tekuti/boot.scm (boot): Run the main loop from (tekuti web). * tekuti/config.scm (*port*, *backlog*, *public-url-base*) (*private-url-base*): Remove extraneous config vars. * tekuti/mod-lisp.scm: Rewrite to be a (web server) server-impl. Not tested very well. * tekuti/page-helpers.scm (respond): New procedure, now the primary way to respond to a request. (relurl, rellink): Take path components as a list, and encode the parts when making the resulting URL. All callers changed. * tekuti/page.scm: Change all handlers to take an additional `body' argument, to respond using `respond', and to use the new `relurl' / `rellink' protocol. * tekuti/request.scm: Eviscerate, leaving only pieces that deal in request objects from `(web request)'. * tekuti/web.scm: Update to use (weeb server). |
||
---|---|---|
src | ||
tekuti | ||
.gitignore | ||
acinclude.m4 | ||
AUTHORS | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
env.in | ||
Makefile.am | ||
NEWS | ||
README | ||
wordpress-to-dir.py |