[Checkins] SVN: z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/README.txt fixed test: when the unauthenticatedPrincipal is defined in ZCML (see ftesting.zcml) 401 unauthorized is returned instead of 403 forbidden when an unauthorized exception is raised

Michael Howitz mh at gocept.com
Thu Mar 5 12:13:58 EST 2009


Log message for revision 97539:
  fixed test: when the unauthenticatedPrincipal is defined in ZCML (see ftesting.zcml) 401 unauthorized is returned instead of 403 forbidden when an unauthorized exception is raised
  

Changed:
  U   z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/README.txt

-=-
Modified: z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/README.txt
===================================================================
--- z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/README.txt	2009-03-05 17:02:34 UTC (rev 97538)
+++ z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/README.txt	2009-03-05 17:13:58 UTC (rev 97539)
@@ -161,7 +161,7 @@
   >>> unauthorized.open(skinURL + '/@@forbidden.html')
   Traceback (most recent call last):
   ...
-  httperror_seek_wrapper: HTTP Error 403: Forbidden
+  HTTPError: HTTP Error 401: Unauthorized
 
   >>> print unauthorized.contents
   <!DOCTYPE ...



More information about the Checkins mailing list