Re: [Chicken-users] Starting up spiffy for dynamic content

2016-03-09 Thread Kristian Lein-Mathisen
Hi Norman! We've been using the vhost-map a lot in our systems too. I've put together (so far an unofficial) egg that turns spiffy's current-request and current-response into function arguments and return values respectively. Maybe that could be useful for some code-samples, if not useful as a

Re: [Chicken-users] Starting up spiffy for dynamic content

2016-03-09 Thread Norman Gray
Peter, hello. On 8 Mar 2016, at 20:41, Peter Bex wrote: On Tue, Mar 08, 2016 at 02:48:00PM +, Norman Gray wrote: So you mean including handlers like: (define (vhost-handler cont) (let ((uri (uri-path (request-uri (current-request) (if (string=? (cadr uri) "wibble") ;; we want to