oh, forgot - pushed to master.
On Wed, 2013-11-06 at 08:13 -0600, Endi Sukma Dewata wrote:
On 11/5/2013 11:25 AM, Ade Lee wrote:
> First of "rules of the road" patches. Makes sure ProfileResource
> returns correct return code for creation/modification.
>
> Ade
ACK.
There are actually some issues that need further discussion:
1. Should we use HTTP 409 (Conflict) for errors caused by entry already
exists?
http://stackoverflow.com/questions/3825990/http-response-code-for-post-wh...
2. If the request is OK but the server won't execute an operation (e.g.
profile status doesn't allow it), should we return HTTP 403 (Forbidden)?
Or maybe HTTP 422 (Unprocessable Entity)?
http://stackoverflow.com/questions/3290182/rest-http-status-codes