At 08:45 AM 12/20/2005 +1100, Rene Dudfield wrote: >Large files should just return a file. So that the file descriptor is >available for the most efficient sending. > >So you could use sendfile(2), or another helper process send the file.
This isn't an option for e.g. files stored in a database (including ZODB), or generated on the fly, although I suppose you could use a temporary file. Even with a temporary file, however, it doesn't address streaming/push. _______________________________________________ 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