Re: Comments on Annotea server and protocol

Dominique Hazaël-Massieux <[email protected]> 01 Sep 2003 10:02:51 +0200
Newsgroups gmane.org.w3c.annotation
Message-ID <1062403372.3086.513.camel@stratustier>
Le ven 29/08/2003 à 17:51, Eric Prud'hommeaux a écrit :
> > - from what I've seen, the W3C Team private instance of annotea doesn't
> > reply with a 201 code as required by the protocol on the creation of a
> > new annotation:
> > cat annotation-test.rdf |POST -Sse -C dom:XXXXX -c application/xml -H
> > "Content-Length:567" http://xxx.w3.org/annotations 
> > replies with:
> > POST http://xxx.w3.org/annotations --> 401 Authorization Required
> > POST http://xxx.w3.org/annotations --> 200 OK
> 
> You need to test the latest version which is, um, 30 seconds old.
> Fixed.

Thanks ;)

> > Further more, the response is a text/html document, note an RDF one (but
> > maybe the private instance of annotea is outdated?).
> 
> depends on the accept header. try application/rdf+xml.

(I would do it the other way around: unless test/html is specifically
requested by the appropriate Accept header, the default answer should be
in application/rdf+xml, as required by the protocol).

Dom
-- 
Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:[email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/Uv0rbE/BlgVzhzsRAiCYAJ9+yOJAstQyGECe6lgBxFSnyw5JGgCeI+A1
zPXyzFxsuZnJeA8ARFYgdKM=
=89vM
-----END PGP SIGNATURE-----