[mod_python] req.sendfile() questions

Wouter van Marle wouter at squirrel-systems.com
Mon Jun 20 03:05:18 EDT 2005

Hi all,

I'm looking into a way of sending out specific files, and detect whether
or not the download was successful.
For sending the file I think I can best use req.sendfile(path,[offset,
len]). That seems easy enough to implement.

But how to detect whether the download was aborted (if so: at what
stage), or whether it has finished successful, etc. What I understand
after searching the web, is that req.sendfile does come back: just no
documentation on what it comes back with!


More information about the Mod_python mailing list