[mod_python] Simulating non parsed header scripts

Nik Barron Nik.Barron at pennantplc.co.uk
Wed Apr 17 09:47:24 EST 2002

> Also, my classes generate "`raw"' http result codes (instead
> of symbolic names from the apache module).  I like it this
> way, because I can use them with or without mod_python.  Is
> there any danger in assigning those to req.status?

This should be OK, as the HTTP_xxx constants are all defined in apache.py
(line 623 onwards). The usual caveats about future compatibility etc apply I

Nik (mod_python newbie, so handle advice with care ;)

More information about the Mod_python mailing list