Re: [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

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <200903051047.19642.srichter__27630.9169982143$1236278942$gmane$org@cosmos.phy.tufts.edu>
On Thursday 05 March 2009, Michael Howitz wrote:
> 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/READM
>E.txt
>
> -=-
> Modified:
> z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/READM
>E.txt ===================================================================
> ---
> z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/READM
>E.txt    2009-03-05 17:02:34 UTC (rev 97538) +++
> z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/READM
>E.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

Ok, strange. Could you add your log message text before the text, so that 
people will know that when they read the test?

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.