[mod_python] Exiting gracefully...

Kevin Lindsay klindsay at mkintraweb.com
Thu Jan 18 18:38:36 EST 2001


How does one exit from a script called from mod_python?

As an example, I am in the middle of a function and I want
to call an error function and have the script stop as if it
had returned from the handler function wth 'return apache.OK'

I can't seem to find anything in the docs, unless I'm 
missing something.

Any help is appreciated. :)

------------------------------------------------
Kevin Lindsay <klindsay at debian.org>
Debian Developer
81E 58A3 B49A 580E EE3D 8CF0 519A 55F0 746C 51F4



More information about the Mod_python mailing list