More remarks:
* even with debug: #f, spiffy still logs 404's to stdout (or stderror
-- not sure). This wouldn't be too bad, but for some other reason, it
prevents the process from running in the background: whenever an
output action is attempted, the shell tells me the job has been
stopped. Possibly chicken tries to access stdin when writing?
* sxml->html breaks naming conventions and makes it hard to use the
macro define-http-resource. sxml->html is not a function, but a
procedure with side effects (it displays the result).
define-http-resource expects a value to be returned. Bonus: a
hard-to-debug situation where sxml->html writes its output (plus some
incomplete headers) and returns #<unspecified>, which
define-http-resource dutifully appends to the stream (with the rest of
the headers).