redirect routes need some detailed design.

a) There should be an easy way to define internal redirects.
   Important thing here is that the destination url should be defined
   using routes by itself. I am not sure about the syntax, but url_for
   need not be available at the moment (for example, if redirects need
   to be defined earlier than the destination routes)

b) There should be some explicit way of selecting which kind of
   redirect is to be performed (permanent, temporary, ...).

c) In case of internal redirects it may make sense to handle
   'invisible redirect' (just picking the destination object using the
   redirected-to route without generating any redirect to the browser)
   as one of the methods.


-- 
----------------------------------------------------------------------
| Marcin Kasperski   | People resist change, regardless of what
| http://mekk.waw.pl |           it is. (Michael Reed)
|                    |
----------------------------------------------------------------------


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
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