>
> You can report the bugs into
> https://sourceforge.net/p/turbogears2/tickets/
>
> Thanks I have reported it as I see it is still an issues 2.1.5
> Anyway, even if you enable streaming in RegistryManager you won't be able
> to stream the response as the debug middlewares and extensions try to read
> it.
>
> You must set debug at false in development.ini to make streaming work
> reliably.
>
Even if it debug=false, you cannot access tg.request and by extension
anything that needs
identity (tg.request.identity['repoze.who.userid' ) by the time time the
stream return processing
has started, the variables have been popped.
Simply changing the registry manager in tg.configuration to use
app = RegistryManager(app, streaming = True)
solves the issue, but there is no easy way to override this section of the
turbogears configuration.
>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/turbogears/-/jzRXFWGKFNMJ.
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=en.