[mod_python] Request sendfile question

Deron Meranda deron.meranda at gmail.com
Fri Mar 24 10:37:35 EST 2006


Also, have you looked at the mod_deflate Apache module.
It can decompress (inflate) gzipped content as an output
filter.  Then your python handler can just call sendfile and
not worry about it.

http://httpd.apache.org/docs/2.2/mod/mod_deflate.html

And if you stick with doing it in python, this type of thing is
also perhaps better done with an output filter handler
than directly in your content handler.  Just a thought.
--
Deron Meranda



More information about the Mod_python mailing list