In the file attached to the message pointed by the link above, you can
find the code to map a part of an URL to a Scheme procedure name. To
achieve that, the http-server's `http:find-resource' procedure needs
to be modified to match regexes. As far as I understand, it's similar
to what you
Hello Andreas,
On Tue, 17 Oct 2006 08:58:00 +0200 Andreas Zwinkau [EMAIL PROTECTED] wrote:
In the file attached to the message pointed by the link above, you can
find the code to map a part of an URL to a Scheme procedure name. To
achieve that, the http-server's `http:find-resource'
I'm not sure I understand. What do you mean variables in this
context?
Uh, sorry. I was talking about arguments. How does your
define-callable-url react on /add, /add/1 and /add/1/2? For summation it
may be ok to have a unspecified number of arguments, but consider
webapps like blogs or wikis.
Hello Andreas,
On Tue, 17 Oct 2006 20:16:21 +0200 Andreas Zwinkau [EMAIL PROTECTED] wrote:
I'm not sure I understand. What do you mean variables in this
context?
Uh, sorry. I was talking about arguments. How does your
define-callable-url react on /add, /add/1 and /add/1/2? For summation
On 10/15/06, Kon Lovett [EMAIL PROTECTED] wrote:
This might help:
http://lists.gnu.org/archive/html/chicken-hackers/2006-10/msg7.html
In fact, adding this is simple enough like this (mind-bogglingly naive
example follows):
(http:fallback-handler
(let ((old (http:fallback-handler)))
Hi,
i want to make a RESTful webapp and i need dynamic urls for this. Neither
http nor spiffy offer this. I thought about extending http for something
like:
(http:add-dynamic-ressource /entries/{id} my-handler)
I'd prefer to build it (with a nicer interface for the handlers) on top of
On Oct 15, 2006, at 5:04 AM, Andreas Zwinkau wrote:
Hi,
i want to make a RESTful webapp and i need dynamic urls for this.
Neither http nor spiffy offer this. I thought about extending
http for something like:
(http:add-dynamic-ressource /entries/{id} my-handler)
I'd prefer to