I made a mistake when copying this example from the real source code; it
should have read:

> (handle-not-found
>   (lambda (path)
>     (log-to (debug-log) "REQUEST: ~s" path)
>     (cond ((string=? path "/foo/bar")    ; s/uri/path/
>            (x))
>           ((string=? path "/asdf/jkl")   ; s/uri/path/
>            (y))
>           (else
>            (handle-other)))))

Where x and y do their own header setup, and write their own output.

-- 
Taylor Venable
http://metasyntax.net/



_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to