couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fli...@apache.org
Subject [couchdb-documentation] branch master updated: Use standard names for HTTP statuses 405 and 415 (#217)
Date Fri, 08 Dec 2017 15:29:17 GMT
This is an automated email from the ASF dual-hosted git repository.

flimzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new 42a6a88  Use standard names for HTTP statuses 405 and 415 (#217)
42a6a88 is described below

commit 42a6a88c087e399b722722d48260b5bb37eadd61
Author: Jonathan Hall <flimzy@flimzy.com>
AuthorDate: Fri Dec 8 16:29:14 2017 +0100

    Use standard names for HTTP statuses 405 and 415 (#217)
---
 src/api/basics.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/basics.rst b/src/api/basics.rst
index 6b9b1d3..4d752da 100644
--- a/src/api/basics.rst
+++ b/src/api/basics.rst
@@ -82,7 +82,7 @@ CouchDB supports the following HTTP request methods:
   A special method that can be used to copy documents and objects.
 
 If you use an unsupported HTTP request type with an URL that does not support
-the specified type then a ``405 - Resource Not Allowed`` will be returned,
+the specified type then a ``405 - Method Not Allowed`` will be returned,
 listing the supported HTTP methods. For example:
 
 .. code-block:: javascript
@@ -549,7 +549,7 @@ specific request types are provided in the corresponding API call reference.
 
       {"error":"not_found","reason":"no_db_file"}
 
-- ``405 - Resource Not Allowed``
+- ``405 - Method Not Allowed``
 
   A request was made using an invalid HTTP request type for the URL requested.
   For example, you have requested a ``PUT`` when a ``POST`` is required. Errors
@@ -574,7 +574,7 @@ specific request types are provided in the corresponding API call reference.
   value or the entire request exceeds the
   :config:option:`httpd/max_http_request_size` value.
 
-- ``415 - Bad Content Type``
+- ``415 - Unsupported Media Type``
 
   The content types supported, and the content type of the information being
   requested or submitted indicate that the content type is not supported.

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <commits@couchdb.apache.org>'].

Mime
View raw message