[Zope-Checkins] CVS: Zope2 - HTTPRequest.py:1.24 HTTPResponse.py:1.20

Brian Lloyd brian@korak.digicool.com
Tue, 31 Aug 1999 20:25:48 -0400

Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory korak.digicool.com:/projects/sites/devzope/lib/python/ZPublisher

Modified Files:
	HTTPRequest.py HTTPResponse.py 
Log Message:
Added an "abort" flag to RESPONSE.exception, so that the method can be
called without necessarily aborting the current transaction. This is
required by things like the resolve_url machinery, where there is a
need to call the exception() method to get a meaningful error. The
resolve_url method in HTTPRequest.Request has been changed to take
advantage of this. The existing semantics of RESPONSE.exception()
are unchanged - it will automatically abort just as it did before
unless you pass the keyword arg abort=0 when calling the method.