incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: What would be the best way to exactly duplicate a document, with attachments?
Date Thu, 05 Dec 2013 18:04:59 GMT

On Dec 4, 2013, at 11:46 PM, Daniel Gonzalez <gonvaled@gonvaled.com> wrote:

> I have remembered that I can get all attachments (no stubs) at once with
> attachments=true, and that is exactly what I need.

Yup. I can’t recall if that returns JSON or MIME-multipart by default; if the former, try
adding a request header “Accept: multipart/*” to get the more compact multipart format.

—Jens
Mime
View raw message