[Zope3-dev] Viewing/downloading large files

Garrett Smith garrett at mojave-corp.com
Fri Aug 12 11:58:00 EDT 2005


>From the looks of the z/a/file/File code, viewing a file will cause all of the file contents to be loaded into memory (specifically, I'm looking at line 45 of z/a/file/browser/file.py).

Is there a way to provide a file-like object (no pun intended, i.e. something with streaming capabilities) to the response rather than a single block of bytes?

 -- Garrett


More information about the Zope3-dev mailing list