Voltron As I say, REST is new to me, but I believe the practical problem is the lack of true REST clients. Most of us have to make do with HTML forms from clients that only support GET and POST. If someone wants to develop a real-world app using REST "style" URIs then I think something like I propose would be necessary.
To cater for true REST clients, it would seem easy enough (from your links) to handle both. For example, (pseudo-code) if (http- method==DELETE) or (http-method==POST and request.arg[-1]==delete) do delete(). Whether checks are performed as decorators or inline ifs seems beside the point. On Oct 23, 5:40 pm, voltron <[EMAIL PROTECTED]> wrote: > I am not sure if your proposal would work with RESTful clients > because you are not using the HTTP protocol to differentiate the > actions taken. > > What about using decorators? > > http://pylonshq.com/docs/0.9/module-pylons.decorators.rest.html > > Or a workaround as Massimo suggested once > > http://groups.google.com/group/web2py/browse_thread/thread/8506105246... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

