Same environ cannot be used twice for WikkidApp
Bug #1014939 reported by
Sam Bailey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wikkid Wiki |
New
|
Undecided
|
Unassigned |
Bug Description
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.
To post a comment you must log in.
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?