- From: Lee Feigenbaum <lee@thefigtrees.net>
- Date: Tue, 19 Jun 2012 13:10:34 -0400
- To: Markus Luczak-Rösch <markus.luczak-roesch@fu-berlin.de>
- CC: public-rdf-dawg-comments@w3.org
Hi Markus, My sincere apologies for how long it has taken us to respond to your comment. The Working Group discussed various approaches to specifying HTTP status codes in both success and failure cases for the SPARQL. Given the variety of usage scenarios considered and the fact that the SPARQL 1.1 Protocol is specifically built on HTTP, the group decided to allow SPARQL Protocol endpoints to use any appropriate HTTP status code, as long as the codes used are consistent with the HTTP standard. The specification text in question is: * http://www.w3.org/TR/sparql11-protocol/#query-success * http://www.w3.org/TR/sparql11-protocol/#query-failure * http://www.w3.org/TR/sparql11-protocol/#update-success * http://www.w3.org/TR/sparql11-protocol/#update-failure We would kindly ask you to acknowledge that you are happy with this response, Lee On behalf of the SPARQL WG On 4/1/2011 4:44 AM, Markus Luczak-Rösch wrote: > Hi all! > > I recently sent a message to the public-LOD group where I got the pointer > to better place this here directly. I quickly went through the draft at > http://www.w3.org/2009/sparql/docs/protocol-1.1/ and found nothing about > the usage of HTTP status code 204, so I repeat my observation here: > > Since on the LDOW11 and USEWOD workshops at WWW there was the recent > discussion about using HTTP referrers properly when browsing, crawling > etc. linked data (short using it) I would like to add another thing that I > was wondering about. If endpoints deliver no content to the client e.g. if > the client performs a SPARQL query that yields no results, servers answer > HTTP status code 200 and deliver some content that holds the information > that there were no results. As far as I see, there is the HTTP status code > 204 for exactly this, isn't it? (see > http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) > > So, beside the aforementioned and recently discussed proper usage of > referrers, I would also suggest to use the 204 HTTP status code. > > Cheers, > Markus > > > ----------------------------------------------------------------- > Markus Luczak-Rösch (Dipl.-Inform.)| Freie Universität Berlin > Lecturer/Grad. Research Associate | Dept. of Computer Science > Networked Information Systems WG | Königin-Luise-Str. 24/26 > | D-14195 Berlin > ----------------------------------------------------------------- > www.ag-nbi.de | Phone: +49 30 838 75226 > www.markus-luczak.de | luczak@inf.fu-berlin.de > http://twitter.com/MLuczak | Skype: markus_luczak > ----------------------------------------------------------------- > > > > > >
Received on Tuesday, 19 June 2012 17:11:06 UTC