On Tue 19 Jun 2012 15:37:31 NZST, Sam Bailey wrote:
> Public bug reported:
>
> After an environ has already had its path_info shifted in WikkidApp.preprocess_environ, it will get stuck inside the while loop if that same environ is then sent back into preprocess_environ.
> For example, calling
>
> app.get_view(environ)
> app(environ, self.start_response)
>
> will result in an infinite loop.
Yes...
I'm wondering if the wsgi spec allows copying of the environ.
On Tue 19 Jun 2012 15:37:31 NZST, Sam Bailey wrote: preprocess_ environ, it will get stuck inside the while loop if that same environ is then sent back into preprocess_environ. view(environ) response)
> Public bug reported:
>
> After an environ has already had its path_info shifted in WikkidApp.
> For example, calling
>
> app.get_
> app(environ, self.start_
>
> will result in an infinite loop.
Yes...
I'm wondering if the wsgi spec allows copying of the environ.
Why are you doing this anyway?