Re: HTTP status for timed-out SPARQL query

> Should we be returning 500 instead?

Yes. To be more concise, I'd think that 503 [1] is appropriate. A 4xx  
is not appropriate IMHO, because [2]:

[[
The 4xx class of status code is intended for cases in which the client  
seems to have erred.
]]

Cheers,
	Michael

[1] http://tools.ietf.org/html/rfc2616#section-10.5.4
[2] http://tools.ietf.org/html/rfc2616#section-10.4
--
Dr. Michael Hausenblas, Research Fellow
LiDRC - Linked Data Research Centre
DERI - Digital Enterprise Research Institute
NUIG - National University of Ireland, Galway
Ireland, Europe
Tel. +353 91 495730
http://linkeddata.deri.ie/
http://sw-app.org/about.html

On 28 Jun 2011, at 07:21, Bill Roberts wrote:

> Looking for some advice from the community.  If we time out a slow- 
> running SPARQL query, what is the most appropriate HTTP status code  
> to return to the client?  We had been trying 408, but the problem  
> with that is that some clients (notably Firefox) take it on  
> themselves to keep retrying the request, which isn't really what we  
> want.
>
> Should we be returning 500 instead?
>
> Thanks
>
> Bill
>
>

Received on Tuesday, 28 June 2011 06:46:30 UTC