Gregory (Grisha) Trubetskoy
grisha at modpython.org
Fri Feb 11 10:25:55 EST 2005
On Thu, 10 Feb 2005, Graham Dumpleton wrote: > When you use "req.sendfile()", the job of sending back the contents of > the file is carried out by Apache. Thus, it isn't strictly being done by > any Python code. To be more precise, it is carried out by the operating system (if your OS supports the sendfile() call): http://man.linuxquestions.org/index.php?query=sendfile§ion=0&type=2 so there is theoritcally no faster way to send a file. Grisha
|