- From: Dominique Hazaël-Massieux <dom@w3.org>
- Date: 01 Sep 2003 10:02:51 +0200
- To: Eric Prud'hommeaux <eric@w3.org>
- Cc: www-annotation@w3.org
Received on Monday, 1 September 2003 04:11:26 UTC
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:dom@w3.org
Received on Monday, 1 September 2003 04:11:26 UTC