Phillip J. Eby wrote: > At 08:51 PM 12/20/2006 +0000, Sylvain Hellegouarch wrote: > > >[1] http://www.cherrypy.org/browser/trunk/cherrypy/wsgiserver.py > > Guido, it does appear that this server implements chunked > encoding if you: > > 1. Use a status of 200, 203, or 206 > 2. Don't include a Content-Length header > 3. *Yield* each chunk from your application as a separate > block (i.e. don't use write()) > > Sylvain, it appears that the above code has a bug in its > chunked support if an application uses write() calls. > It will set the encoding to chunked, but it won't actually > write the data in chunks when write() is called. You > might want to pass that information back to the CherryPy > developers, although I think there are probably some > reading this list.
Thanks. Fixed in http://www.cherrypy.org/changeset/1538. Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com