couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [couchdb-documentation] branch master updated: Update docs for PUT attachments
Date Wed, 05 Apr 2017 02:52:50 GMT
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
       new  8586c70   Update docs for PUT attachments
8586c70 is described below

commit 8586c704ef4f6be2e0762828bb31215da25b8d7a
Author: Jonathan Hall <>
AuthorDate: Tue Apr 4 16:14:23 2017 +0200

    Update docs for PUT attachments
    These headers were completely misdocumented, even for Couch 1.6.  But
    they've all been removed entirely for Couch 2.0.0, according to my testing.
 src/api/document/attachments.rst | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/api/document/attachments.rst b/src/api/document/attachments.rst
index 0215083..5ed6d70 100644
--- a/src/api/document/attachments.rst
+++ b/src/api/document/attachments.rst
@@ -130,16 +130,6 @@
     :<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
     :>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
['"" <>'].

View raw message