[mod_python] An odd use of the publisher

Gregory (Grisha) Trubetskoy grisha at modpython.org
Sun Mar 14 13:46:05 EST 2004


On Sat, 13 Mar 2004, Colin Fox wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ron Alford wrote:
> | Colin Fox wrote:
> |
> |> To get around the return issue, I'm finishing off my handler with this:
> |>
> |> ~    raise apache.SERVER_RETURN, apache.OK
> |
> |
> | How does a straight 'return' with no arguments work? I thought I was
> | using that at one point.
>
> It doesn't work

Can you elaborate on the "doesn't work"? It's supposed to, at least on
version 3.1.x and may be even 3.0.x

Grisha


More information about the Mod_python mailing list