W3C home > Mailing lists > Public > public-html@w3.org > April 2011

Re: [Fwd: Re: PUT and DELETE methods in 200 code]

From: mike amundsen <mamund@yahoo.com>
Date: Sat, 2 Apr 2011 07:02:51 -0400
Message-ID: <AANLkTinwu3DtODULRHury7igfpbk7RYxMR2idpp-inrX@mail.gmail.com>
To: Danny Ayers <danny.ayers@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, public-html@w3.org, www-archive <www-archive@w3.org>
<snip>
>> I think it's essential to think this through completely, not to rush it.
>
> +1, +1
>
> Just a (probably redundant) fyi: AtomPub covers similar ground, a lot
> of the considerations there will be relevant here -
>
> http://bitworking.org/projects/atom/rfc5023.html#edit-via-PUT
>
</snip>

This reminds me that one possible way to support PUT/DELETE would be
to only support it when the response representation contains a single
HTML.FORM and the etag for that representation corresponds to the
target resource of the HTML.FORM.

IOW, adopt AtomPub's pattern of using the response representation
meta-data rather than supporting direct manipulation of
if-match/if-none-match from the markup.

I'll note this in the doc, too.

Thanks.

mca
http://amundsen.com/blog/
http://twitter.com@mamund
http://mamund.com/foaf.rdf#me


#RESTFest 2010
http://rest-fest.googlecode.com




On Sat, Apr 2, 2011 at 06:51, Danny Ayers <danny.ayers@gmail.com> wrote:
>>> [1] http://amundsen.com/examples/put-delete-forms/
>>> ...
>>
>> Mike,
>>
>> thanks for getting this started.
>>
>> I think it's essential to think this through completely, not to rush it.
>
> +1, +1
>
> Just a (probably redundant) fyi: AtomPub covers similar ground, a lot
> of the considerations there will be relevant here -
>
> http://bitworking.org/projects/atom/rfc5023.html#edit-via-PUT
>
> --
> http://danny.ayers.name
>
Received on Saturday, 2 April 2011 11:03:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:27 GMT