> > Hi, > how can I catch HTTPUnauthorized(401) in my middleware and then make a > internal request to > other controller? just like Authkit, it can redirect abort(401) to > 'signinpath'
Check out pylons.middleware.StatusCodeRedirect (available since 0.9.7). Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---