You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2017/07/04 15:54:41 UTC

[couchdb-documentation] 01/01: POST /dbname should not return ETag response header

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch 620-doc-post-etag
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 3bc41b21ba11a8859a1647bb86482cc6180837eb
Author: Robert Newson <rn...@apache.org>
AuthorDate: Tue Jul 4 16:53:17 2017 +0100

    POST /dbname should not return ETag response header
    
    as it relates to a different resource.
    
    Note: We used to send ETag for this in previous releases, so it's
    technically a regression even though we accidentally fix a spec
    violation.
    
    Closes #620
---
 src/api/database/common.rst | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/api/database/common.rst b/src/api/database/common.rst
index 5178535..45a6e18 100644
--- a/src/api/database/common.rst
+++ b/src/api/database/common.rst
@@ -292,7 +292,6 @@
       <api/doc/batch-writes>` Possible values: ``ok``. *Optional*
     :>header Content-Type: - :mimetype:`application/json`
                            - :mimetype:`text/plain; charset=utf-8`
-    :>header ETag: Quoted new document's revision
     :>header Location: Document's URI
     :>json string id: Document ID
     :>json boolean ok: Operation status
@@ -328,7 +327,6 @@
         Content-Length: 95
         Content-Type: application/json
         Date: Tue, 13 Aug 2013 15:19:25 GMT
-        ETag: "1-9c65296036141e575d32ba9c034dd3ee"
         Location: http://localhost:5984/db/ab39fe0993049b84cfa81acd6ebad09d
         Server: CouchDB (Erlang/OTP)
 

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