[mod_python] returning apache code from publisher handler?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Oct 21 23:23:38 EST 2003

Yes, you can

raise apache.SERVER_RETURN, apache.OK


raise apache.SERVER_RETURN, apache.DECLINED


On Tue, 21 Oct 2003, Seth Ladd wrote:

> Hello,
>  From the examples I've seen, the publisher handler expects a string to
> be returned.  I'd like the option to return any arbitrary apache code
> if I need to.  Is this an option or possible?
> Thanks very much!
> Seth
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list