On Fri, Feb 10, 2006 at 08:44:41AM -0500, Alexander Michael wrote:
> Can someone with more HTTP protocol experience spot my
> error? Do I need an additional header to notify IE that the server is
> sending chunked? I've included the hack and test template below.

I have not taken the time to test out the patch. If time permits
I'll be doing that soon. But after a quick look you have have a
problem in your ChunkWriter class. If looks like you are depending
on the __del__ method as part of your protocol. You are not
guaranteed to have this called before the file is closed. So it may
be that the final CRLF is not written to the client. See the section
on __del__ in :
http://docs.python.org/ref/customization.html

David

-- 
http://www.traceback.org

GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833  655A 92E2 3E00 6272 EDAF

Attachment: pgpIYsjY1SZhA.pgp
Description: PGP signature

Reply via email to