Rob Nichols
rob at robnet.com
Fri Feb 11 20:51:09 EST 2005
On Thu, Feb 10, 2005 at 11:37:25PM -0500, 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. Cool, thanks. > The alternative to using "req.sendfile()" in this case where the physical > file resides at the same spot as the URL would match to anyway, is to > simply return "apache.DECLINED". By doing this, Apache will continue > to process the request and will serve up the contents of the file as per > normal. Even cooler. Thanks very much for the information.
|