I reviewed and committed this patch. Thanks Jeff!

I also added a startup property that must be enabled to turn on Admin protocol.
   webservices.adminprotocol.enabled

There's also one for Atom protocol:
   webservices.atomprotocol.enabled


- Dave


On Mar 27, 2006, at 8:26 PM, Jeff Blattman wrote:

changes include ...

change all code to throw / catch well-typed, exceptions, instead of "Exception". informative http result codes are now returned when there is an error in the request. for example, return 404 when a resource is not found. previously, any sort of problem on the platform resulted in status code 500 (internal server error). error status codes are now correctly added to the response via sendError(), with the addition of an error string more robust / consistent error handling - several types of faulty requests were resulting in NPEs. now, a request for a collection with no entries returns the empty collection. a request for a non- existent entry returns error 404 ... consistently i hope.

patch file is attached. patch is rooted at the roller/trunk directory.
<aapp-3.patch.gz>

Reply via email to