[mod_python] apache.send_file()

Damjan arhiv at freemail.org.mk
Mon Dec 4 22:25:25 EST 2000


Is there a point in having something like
apache.send_file(PyObject * file) or apache.send_file(char * filename)

Of course I can do this with:
	f = open(...
	buf = f.read()
	req.write(buf)
but perhaps using apache calls will be faster.

-- 
Damjan Georgievski		|           Дамјан Георгиевски
Skopje, Macedonia		|           Скопје, Македонија




More information about the Mod_python mailing list