[Web-SIG] wsgiref questions

Robert Brewer fumanchu at amor.org
Thu Dec 21 23:04:55 CET 2006


Guido van Rossum wrote:
> We decided to add chunking encoding to our own server,
> it wasn't all that hard. What's the business of only
> doing it for certain status codes?

Less overhead if the response has no entity or a small one. In my experience, 200, 203 and 206 are the only ones that have large enough response-bodies to bother. And since there's no spec for a WSGI app to tell a WSGI server to chunk (because chunking support isn't mandatory), it seemed best for a generic server.


Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/web-sig/attachments/20061221/0a10c9a9/attachment.htm 


More information about the Web-SIG mailing list