31 Mar
2004
31 Mar
'04
10:35 p.m.
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