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:40 UTC
[couchdb-documentation] branch 620-doc-post-etag updated (6344be8
-> 3bc41b2)
This is an automated email from the ASF dual-hosted git repository.
rnewson pushed a change to branch 620-doc-post-etag
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.
discard 6344be8 POST /dbname should return ETag response header
new 3bc41b2 POST /dbname should not return ETag response header
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (6344be8)
\
N -- N -- N refs/heads/620-doc-post-etag (3bc41b2)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].
[couchdb-documentation] 01/01: POST /dbname should not return ETag
response header
Posted by rn...@apache.org.
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>.