Re: Proposed 5xx status code for WebPush

On 19 November 2015 at 09:00, Cyrus Daboo <cyrus@daboo.name> wrote:
> It seems a little odd for "success" to be indicated by a 4xx code. Why not
> just return a 204 (No Content) for that case?

I like this.  204 indicates that the content was removed
(successfully).  A 404/410 indicates that the resource was discarded.

Obviously, the 204 state might be immediately followed by the removal
of the resource, but we don't need to separately report that.

Received on Thursday, 19 November 2015 18:03:17 UTC