W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2013

Re: Does idempotence include the response codes?

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 15 Oct 2013 20:05:24 +0200
Message-ID: <525D83E4.1060205@gmx.de>
To: cowwoc <cowwoc@bbs.darktech.org>, ietf-http-wg@w3.org
On 2013-10-15 19:43, cowwoc wrote:
> Hi,
>      Can the authors officially weigh in on the meaning of "idempotent"
> with response to response codes? Do idempotent methods have to return
> the same response code in the face of multiple invocations? Or are they
> allowed to return different response codes so long as the state is not
> modified by subsequent requests? See
> http://stackoverflow.com/q/741192/14731 for the discussion that fueled
> this question.

I'll repeat what I said over there:

No, "effect" is not intended to cover the response as well. What you 
propose is that DELETE either always must pass ("200") or fail ("404" or 
"410"), no matter what the state of the server is. This doesn't make any 
sense and furthermore doesn't help the client at all.

>      PS: It would be nice if the spec officially clarified this point as
> I've seen it brought up again and again in different discussions.

I personally believe it's clear enough, as the other interpretation 
frankly doesn't make any sense.

That being said, what do others think?

Best regards, Julian
Received on Tuesday, 15 October 2013 18:05:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:18 UTC