W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2011

Re: DELETE and 410 Gone

From: Roy T. Fielding <fielding@gbiv.com>
Date: Thu, 25 Aug 2011 14:22:19 -0700
Cc: httpbis Group <ietf-http-wg@w3.org>
Message-Id: <8272E95A-39FF-4CE6-81F9-B5803B3AEB26@gbiv.com>
To: Karl Dubost <karld@opera.com>
On Aug 25, 2011, at 2:09 PM, Karl Dubost wrote:
> Le 25 août 2011 à 16:56, Roy T. Fielding a écrit :
>> It actually means remove the current representation.
>> The resource is the mapping over time, and hence can't
>> be deleted.
> Do you mean for example a practical case of a resource with multiple representations? 
> http://example.com/foo
> with two representations
> image/png
> image/jpeg
> And use DELETE to remove one of them?

No, it removes all current representations.  It is the equivalent
of rm in the Unix filesystem -- it removes the current association
between the name and whatever that name formerly mapped to.
In essence, it deletes the name from the directory record and
may (or may not) have some impact on the storage system as a
result.  It does not prevent the next request from recreating the
same name via PUT, and hence does not delete the resource because
the identifier is still valid.

Received on Thursday, 25 August 2011 21:22:52 UTC

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