On Tue, Dec 15, 2009 at 12:11 PM, Mike Burrows (asplake)
<[email protected]> wrote:
>
> Hi Shailesh,
>
> Yes I'm aware of (and use) the rest decorators.  I kinda like though
> the simplification of having all routing in one place, and (although
> this is perhaps a more personal thing) having a good source of meta
> data describing the application - it seems a pity to me to hide all
> this information inside decorators that provide no protocol for
> extracting it again.

Routes will eventually have failure routes (aka. status-changing
routes).  Currently it has only redirect routes.  Failure routes would
allow you to set a 4xx or 5xx error directly in the routing; e.g., for
URLs that have gone away or are under maintenance.

-- 
Mike Orr <[email protected]>

--

You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.


Reply via email to