[Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/README.txt
Note about handleErrors only being appropriate when you're
using Zope 3's publisher.
Chris Withers
chris at simplistix.co.uk
Thu Dec 1 09:31:18 EST 2005
Log message for revision 40443:
Note about handleErrors only being appropriate when you're using Zope 3's publisher.
Changed:
U Zope3/trunk/src/zope/testbrowser/README.txt
-=-
Modified: Zope3/trunk/src/zope/testbrowser/README.txt
===================================================================
--- Zope3/trunk/src/zope/testbrowser/README.txt 2005-12-01 14:06:15 UTC (rev 40442)
+++ Zope3/trunk/src/zope/testbrowser/README.txt 2005-12-01 14:31:18 UTC (rev 40443)
@@ -1068,8 +1068,8 @@
>>> browser.lastRequestPystones < 10000 # really big number for safety
True
-Handling Errors
----------------
+Handling Errors when using Zope 3's Publisher
+---------------------------------------------
A very useful feature of the publisher is the automatic graceful handling of
application errors, such as invalid URLs:
@@ -1100,6 +1100,11 @@
NotFound: Object: <zope.app.folder.folder.Folder object at ...>,
name: u'invalid'
+NB: Setting the handleErrors attribute to False will only change
+ anything if the http server you're testing is using Zope 3's
+ publisher or can otherwise respond appropriately to an
+ 'X-zope-handle-errors' header in requests.
+
Hand-Holding
------------
More information about the Zope3-Checkins
mailing list