You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/04/18 21:37:49 UTC
[couchdb-documentation] branch master updated: Fix PUT attachment
documentation (#523)
This is an automated email from the ASF dual-hosted git repository.
wohali 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 49e9ff4 Fix PUT attachment documentation (#523)
49e9ff4 is described below
commit 49e9ff49e1b3db56141ce887657efab4539fabf8
Author: Bence Sztankovszky <sz...@users.noreply.github.com>
AuthorDate: Sat Apr 18 23:37:43 2020 +0200
Fix PUT attachment documentation (#523)
* Fix PUT attachment documentation
Co-authored-by: Joan Touzet <wo...@users.noreply.github.com>
---
src/api/document/attachments.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/document/attachments.rst b/src/api/document/attachments.rst
index fc49e5f..1ec7b05 100644
--- a/src/api/document/attachments.rst
+++ b/src/api/document/attachments.rst
@@ -131,7 +131,7 @@
:param docid: Document ID
:param attname: Attachment name
- :<header Content-Type: Attachment MIME type. *Required*
+ :<header Content-Type: Attachment MIME type. Default: :mimetype:`application/octet-stream` *Optional*
:<header If-Match: Document revision. Alternative to `rev` query parameter
:query string rev: Document revision. *Optional*