Re: updating annotations

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.

Doug

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