On 12/12/05, Sean Cazzell <[EMAIL PROTECTED]> wrote: > CherryPy doesn't currently handle RESTful style URLs well (or in 2.2, > from what I've seen). You would have to do some hacking in > pickup.default and do the dispatching yourself.
You're correct about this. There may be an easy solution: what if turbogears.controllers.Controller has a default method that will do RESTful URLs? If the current path component doesn't match, look up the *next* path component (if there is one) and call that. (CP itself could do this, too, I think.) Note that if an identifier matches one of your method names, you'll have a problem. Kevin -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com

