You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/04/05 02:57:21 UTC

[couchdb-documentation] branch 1.6.x updated: Update docs for PUT attachments

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

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

The following commit(s) were added to refs/heads/1.6.x by this push:
       new  31c07bd   Update docs for PUT attachments
31c07bd is described below

commit 31c07bda568519357d08518c21df030a3ce98436
Author: Jonathan Hall <fl...@flimzy.com>
AuthorDate: Tue Apr 4 16:44:38 2017 +0200

    Update docs for PUT attachments
    
    These headers were completely misdocumented; the result of an apparent
    copy-and-paste from the GET headers documentation.
---
 src/api/document/attachments.rst | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/api/document/attachments.rst b/src/api/document/attachments.rst
index f2403aa..540a866 100644
--- a/src/api/document/attachments.rst
+++ b/src/api/document/attachments.rst
@@ -127,15 +127,7 @@
   :<header Content-Type: Attachment MIME type. *Required*
   :<header If-Match: Document revision. Alternative to `rev` query parameter
   :query string rev: Document revision. *Required*
-  :>header Accept-Ranges: :ref:`Range request aware <api/doc/attachment/range>`.
-    Used for attachments with :mimetype:`application/octet-stream`
-  :>header Content-Encoding: Used compression codec. Available if attachment's
-    ``content_type`` is in :config:option:`list of compressiable types
-    <attachments/compressible_types>`
-  :>header Content-Length: Attachment size. If compression codec is used,
-    this value is about compressed size, not actual
-  :>header Content-MD5: Base64 encoded MD5 binary digest
-  :>header ETag: Double quoted base64 encoded MD5 binary digest
+  :>header ETag: Double quoted document revision after update.
   :>json string id: Document ID
   :>json boolean ok: Operation status
   :>json string rev: Revision MVCC token

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