[Zope] BeforeDeleteException and FTP "530 Unauthorized" messages

Dieter Maurer dieter at handshake.de
Wed Mar 31 17:35:28 EST 2004


Joseph Kocherhans wrote at 2004-3-30 18:30 -0700:
> ...
>It seems to me that in ZServer the http response status is directly tied 
>to the exception type (either Unauthorized or Forbidden.) Does anyone 
>how I might go about geting the ftp server to return "530 Unauthorized" 
>if object deletion is vetoed with BeforeDeleteException? Or more 
>specifically how a BeforedDeleteException could change the response 
>status to 401 or 403 (which is more appropriate?) Also, is this a bug, 
>or is there some reason the BeforeDeleteException goes uncaught?
>
>Any insight would be much appreciated.

I fear, you will need to  change some code...

-- 
Dieter



More information about the Zope mailing list