W3C home > Mailing lists > Public > www-annotation@w3.org > January to June 2004

Re: Annotations database down; GET still returns 200

From: Mark Smith <mcs@pearlcrescent.com>
Date: Fri, 19 Mar 2004 14:32:46 -0500
Message-ID: <405B4ADE.8010601@pearlcrescent.com>
To: www-annotation@w3.org

Matthew Wilson wrote::

>Eric Prud'hommeaux wrote:
>> Whether "no annotations found" is a 404 has been a long standing issue.
>> A stronger case could be made for "no annotations found 'cause the db
>> isnt abswering." The hope was that people could play with the server
>> even if it wasn't talking to a database. Perhaps they could "play with"
>> it even if they got error messages back? thinking...
>
>The problem is for a tool trying to use the database: it has no 
>indication of the error status.
>
I agree.  One of the following status codes would be more appropriate to 
return when the database is down:

   500 Internal Server Error
   503 Service Unavailable

-- 
Mark Smith
LDAP Book Information: http://www.ldapbook.com/
What's Next:           http://www.pearlcrescent.com/
Received on Friday, 19 March 2004 15:55:09 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Friday, 25 March 2005 11:19:19 GMT