W3C home > Mailing lists > Public > www-annotation@w3.org > July to December 2002

Re: updating annotations

From: Doug Daniels <rainking@rice.edu>
Date: Thu, 12 Dec 2002 02:11:55 -0600 (CST)
To: Charles McCathieNevile <charles@w3.org>
cc: www-annotation@w3.org
Message-ID: <Pine.LNX.4.44.0212120208450.15757-100000@electricblue>

On Wed, 11 Dec 2002, Charles McCathieNevile wrote:

> In principle it seems to me that you should be able to PUT the updated
> annotation information, with the reference to the text as given by a query
> that would return the annotation.

Indeed, once the server was up I tried this out and it worked.  Good call.

> As I read the protocol you SHOULD use PUT to update an annotation, only using
> POST to have the server create one with new URIs for the annotation and its
> body, although this isn't a MUST for some reason I don't understand that
> comes out as "implementation magic".

Yes, both annozilla and amaya use the POST method with ?replace_source
instead of PUT to update annotations.  As far as annozilla is concerned,
I'm not certain that the XMLHttpRequest object has PUT implemented yet.
POST seems to be more commonly available to clients.

Received on Thursday, 12 December 2002 03:11:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:55 UTC