Re: Annotations database down; GET still returns 200
Mark Smith <[email protected]> Fri, 19 Mar 2004 14:32:46 -0500
| Newsgroups | gmane.org.w3c.annotation |
|---|---|
| Message-ID | <[email protected]> |
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/