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

Re: DELETE Content-Type / : deleting specific representation

From: Reto Bachmann-Gmür <reto@gmuer.ch>
Date: Tue, 31 Jan 2006 15:04:38 +0100
Message-ID: <43DF6E76.9070405@gmuer.ch>
To: Yves Lafon <ylafon@w3.org>
Cc: HTTP working group <ietf-http-wg@w3.org>

Thanks, but the individual representations have nor URI on its own - 
maybe I should change this, but till now I was quite happy with the 
architecture of my http-server: the first handler handling a request 
removes extensions (if present) and changes the accept- (or content- on 
PUT) type/language headers accordingly, a later handler uses the 
information in an RDF model to determine the best available 
representation which is then retrieved by its urn:hash from a store. The 
representations are modeled in RDF as anonymous resources, so that no 
"uncool" URIs are in there.


Yves Lafon schrieb:
> On Tue, 31 Jan 2006, Reto Bachmann-Gmür wrote:
>> Hello,
>> I'm wondering if the DELETE method can be used to to remove only a 
>> specific representation of a resource - can the Content-Type and 
>> Content-Language headers be used to specify the representation to be 
>> deleted? Is there another solution?
> When you retrieve the resource you want to Delete, you may have a 
> Content-Location indicating the real URI served, in that case, you can 
> do the DELETE on this one.
Received on Tuesday, 31 January 2006 14:05:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:27 UTC