You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/02 19:37:48 UTC
[Couchdb Wiki] Update of "HttpStatusList" by BrianTroutwine
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by BrianTroutwine:
http://wiki.apache.org/couchdb/HttpStatusList
The comment on the change is:
First time contributation after perusal of couch_httpd.erl.
------------------------------------------------------------------------------
A list of HTTP statuses used by CouchDB and their respective meanings.
+ === 200 - OK ===
+
+ Request completed successfully.
+
+ === 304 - Not Modified ===
+
+ Etag not modified since last update.
+
+ === 400 - Bad Request ===
+
+ Request given is not valid in some way.
+
- === 404 Not Found ===
+ === 404 - Not Found ===
Such as a request via the HttpDocumentApi for a document which doesn't exist.
+ === 406 - Not Acceptable ===
+
+ Request contained invalid JSON.
+
+ === 409 - Conflict ===
+
+ Request attempted to created database which already exists.
+
+ === 412 - Precondition Failed ===
+
+ Request resulted in an update conflict.
+
+ === 500 - Internal Server Error ===
+
+ Woops.
+
''As you can see, this document is incomplete, please update.'''