On Monday 23 November 2009 15:30:45 AFO wrote:
> On Nov 23, 5:28 am, Raphael Slinckx <[email protected]> wrote:
> > I think that will trigger a 302 redirect, not an internal one.
>
> Exactly.... is there any way to do it internally?

No. I've written such thing as part of my tgext.simpleauth, a 
repoze.w*-replacement. 

http://bitbucket.org/deets/tgextsimpleauthorization/

It is coneceived as middlewar, and you can perform internal and external 
redirects. 

However, I would advise in general *against* internal redirects, because you 
might mess up the WSGI-environ when doing so.

Diez

--

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


Reply via email to