> > > 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.
>

How does telling the TG2 dispatch code to simply start processing with
a different exposed() method mess with the WSGI-environ?  (Unless it's
emulating a real 302 that just never get back to the client...?)





--

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