summaryrefslogtreecommitdiffstatshomepage
path: root/wordpress-to-dir.py
diff options
context:
space:
mode:
authorGravatar Andy Wingo2010-11-13 19:26:47 +0100
committerGravatar Andy Wingo2010-11-13 19:26:47 +0100
commitbefda5cb0285d36403d405092f826e5afcff80d2 (patch)
treee62b627cf0dbc093d26d63f444545e9f12f8fe5f /wordpress-to-dir.py
parent1152ccf68ad2cc6605191005b314514de2bf92c5 (diff)
downloadtekuti-befda5cb0285d36403d405092f826e5afcff80d2.tar.gz
tekuti-befda5cb0285d36403d405092f826e5afcff80d2.zip
big change to use new (web server) infrastructure
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).
Diffstat (limited to 'wordpress-to-dir.py')
0 files changed, 0 insertions, 0 deletions