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

RE: server applying PUT to a resource other than the request-URI

From: Brian Smith <brian@briansmith.org>
Date: Mon, 20 Oct 2008 15:49:22 -0500
To: <julian.reschke@gmx.de>, <henrik@henriknordstrom.net>
Cc: <ietf-http-wg@w3.org>
Message-ID: <00ce01c932f5$579e7ab0$06db7010$@org>

Julian Reschke wrote:
> Henrik Nordstrom wrote:
> Well, I proposed a new method for this in 2005, and the answer to that
> was: just use POST. And that is what AtomPub has done.
> So is this suddenly the wrong advice?

It was always bad advice. Take AtomPub for example: in many AtomPub implementations, there is no idempotent creation operation, and there is no reliable way to tell if an entry was successfully added to the collection if the connection dropped before you got the response. Both of these problems are consequences of using POST instead of PUT to create resources. Plus, AtomPub had to invent a new header (Slug) that would be unnecessary for PUT-to-create.

- Brian
Received on Monday, 20 October 2008 20:49:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:47 UTC