Streaming templating languages for use as WSGI body.

Alice Bevan–McGregor alice at gothcandy.com
Thu Jan 6 14:07:22 EST 2011


On 2011-01-06 10:00:39 -0800, Adam Tauno Williams said:

> With HTTP/1.0 [and WSGI is HTTP/1.0 only] you have to provide a 
> Content-Length header - so you have to generate the entire response at 
> once [however you want to muddy "at once"].

Both of these statements are false.

> Streaming responses to the client requires Chunked-Encoding [HTTP/1.1] 
> which is not possible via WSGI.

This is also false.

Oh for three, please try again.  :)

	- Alice.






More information about the Python-list mailing list