[Web-SIG] environ["wsgi.input"].read()

Graham Dumpleton graham.dumpleton at gmail.com
Sun Jan 27 23:12:25 CET 2008


On 27/01/2008, Manlio Perillo <manlio_perillo at libero.it> wrote:
> Graham Dumpleton ha scritto:
> > [...]
>  >
> >
> > I have brought up the issue of chunked encoding and mutating input
> > filters previously, whether they be implemented in Apache or as WSGI
> > middleware. For the outcome of that discussion see:
> >
> >   http://groups.google.com/group/python-web-sig/browse_frm/thread/25bf70b49a90e0c0
> >
>
>  > [...]
>
>
> This is just a suggestion, but what about "requiring" that a WSGI
> implementation calls the WSGI application only when all the request body
> has been read?

Can't do that. The input content could be dependent on partial
response content which has already been returned by the WSGI
application. Ie., something which streams in both ways.

Graham


More information about the Web-SIG mailing list