hugo wrote:
As far as I know such output doesn't have to be chunked. All you need is to set Content-length and then just feed your your data in small parts to stdout flushing it every time. That's at least how works my web-mail system in C++ when outputting attachments.But to do this there would have to be support for chunked transfers in the mod_python handler, too, so it wouldn't be a simple patch, but a bit more involved.