[Web-SIG] environ["wsgi.input"].read()
Manlio Perillo
manlio_perillo at libero.it
Sun Jan 27 23:19:51 CET 2008
Graham Dumpleton ha scritto:
> 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.
>
Can you make an example of this use case?
> Graham
>
Thanks Manlio Perillo
More information about the Web-SIG
mailing list