You are looking at historical revision 18188 of this page. It may differ significantly from its current revision.
Documentation[procedure] (uri-match/spiffy routes)
Returns a procedure suitable for use as a spiffy handler. It will match against the HTTP method and URI of the current-request parameter. The routes argument is passed directly to make-uri-matcher of uri-match and thus must be in the format described there. If a route matches, its handler is called with current-response modified to include the headers given in the default-response-headers parameter. If no route matches, the handler will call the continue procedure passed by spiffy.[parameter] (default-response-headers [headers])
A list of headers to be used for all requests handled by handlers created through uri-match/spiffy. Defaults to
'((content-type #(text/html ((charset . "utf-8")))) (accept-charset utf-8))[procedure] (redirect-to path #!key (code 302) (headers '()))
Convenience procedure for sending redirects relative to the current server-root-uri.