abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: DELETE of inexisting resource... weak api
Date Wed, 09 Apr 2008 19:22:15 GMT
Dan Diephouse wrote:
> [snip]
> 2. Fix the client side of it so it returns a SUCCESS on 404 and DELETE
> [snip]

-1. 404 is a client error as defined by RFC 2616.  Defining it as a 
SUCCESS would be a bug and would break existing code.  For 404, 
getType() should return CLIENT_ERROR and the client needs to check the 
status code.

- James


Mime
View raw message