W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2012

Re: Idempotent partial updates

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 28 Feb 2012 08:30:19 -0800
Message-ID: <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
On 28 February 2012 00:37, Julian Reschke <julian.reschke@gmx.de> wrote:
> How exactly is it "not visible"?
>
> "A PATCH request can be issued in such a way as to be idempotent, [...]

"Can be" not "is".  You can issue a non-idempotent PATCH.  Though you
are advised not to, it is possible.  Therefore, an intermediary cannot
assume that the request is safe to retry.

A PUT is by definition idempotent.  A PATCH, like POST, is only
idempotent under (secret, non-obvious) conditions.

--Martin
Received on Tuesday, 28 February 2012 16:30:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:56 GMT