[Zope-dev] Raising HTTP response codes from PythonMethods

Itamar Shtull-Trauring itamars@ibm.net
Mon, 03 Apr 2000 15:26:37 +0200


In DTML I can do
	<dtml-raise Redirect>&dtml-BASE0</dtml-raise>

and I'll get redirected to BASE0, since the exception is converted into a
HTTP response code.

How can I do the same in a PM?  I'm trying to get a NotModified header to be
returned, aborting the transaction while I'm at it.

-- 
Itamar S.T.  itamars@ibm.net